A subroutine that gives cpu time used for the calling thread?
> I would like to write a subroutine that gives cpu time used for the calling > thread. I used times (I’m under Tru64 V5.0 using pthread), and it returns a > cumulative cpu time, not the cpu time for the given thread. Any suggestions ? The 1003.1d-1999 amendment to POSIX added optional per-thread clock functions; but I doubt they’re implemented much of anywhere yet. (And definitely not on Tru64 UNIX.
Related Questions
- What option can be specified as an argument to the jdk to increase the thread heap size used by the JDK in the context of the webserver?
- A page stating that there is currently work overload and gives me different turnaround time, thought you say 24 hours?
- A subroutine that gives cpu time used for the calling thread?