in reply to Re^2: cpu time within a thread
in thread cpu time within a thread
Not that I am aware of under Win32.
I seem to recall somebody mentioning that under some versions/configurations of *nix, threads were listed in top as separate entities much like processes, but I also seem to recall that this was being superceded by a 'rolled up' view of each process. Sorry, I can't remember where I read this, it could be a figment of my imagination.
This isn't something that can be easily done outside of the kernel. Any timing based upon the system clock simply won't account for the time when a thread is 'swapped out'.
The only mechanism by which this might be possible is if there is an interface to the scheduler and I do not know of any such.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: cpu time within a thread
by tallison (Initiate) on Jul 28, 2004 at 21:39 UTC |