C136ERH%UTARLG.ARL.UTEXAS.EDU@ricevm1.rice.edu (Ray 'StarSailer' Howard) (09/28/89)
Greetings, I need to be able to find the amount of actual CPU runtime (i.e. amount of time process/task actually has the CPU allocated to it) that a process/task is using. My question. Is there a system routine available for this, or possibly something available as an option? I am using Lattice C 5.01. --Thanks. Ray 'StarSailer' Howard // Bitnet: c136erh@utarlg \X/ #include <std.disclaimers> Internet: c136erh@utarlg.arl.utexas.edu UUCP: ...!{ames,sun,texbell,<vertebra>}!utarlg.arl.utexas.edu!c136erh A tachyon is a quantum of bad taste.
navas@cory.Berkeley.EDU (David C. Navas) (09/29/89)
In article <255@snow-white.udel.EDU> C136ERH%UTARLG.ARL.UTEXAS.EDU@ricevm1.rice.edu (Ray 'StarSailer' Howard) writes: > I need to be able to find the amount of actual CPU runtime Hmm, well, there is a bit of magic you can perform on your (task?) structure. There are two spots in this structure with really obvious (I hope...) names which are called by the dispatcher when your program starts/stops. At least that is what I have heard in passing. David Navas navas@cory.berkeley.edu