Feb 15, 2005 #1 lewisliu Programmer Feb 15, 2005 2 US Hi, I am using pthread on Redhat 7.x and need a way to record per-thread cpu time(user mode time), how can I do it inside my program? Thanks for help!
Hi, I am using pthread on Redhat 7.x and need a way to record per-thread cpu time(user mode time), how can I do it inside my program? Thanks for help!
Feb 16, 2005 #2 xmb Programmer Feb 11, 2005 213 CH I'd suggest to ask in the C coders forum. . Mac for productivity .. Linux for developement ... Windows for solitaire Upvote 0 Downvote
I'd suggest to ask in the C coders forum. . Mac for productivity .. Linux for developement ... Windows for solitaire
Feb 16, 2005 #3 cdlvj MIS Nov 18, 2003 677 US You might look at the code for "top" and "sar" which should be available on the net. Upvote 0 Downvote