Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

A subroutine that gives cpu time used for the calling thread?

0
Posted

A subroutine that gives cpu time used for the calling thread?

0

> 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 is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123