Paul wrote: > I have no problem finding, from with a "C" app, my process utilization. > > I need now to dig deeper and extract internally to the app the CPU > utilisztion of each thread within my app > > Any help, better still source fragment, would be much appreciated
What about getrusage(RUSAGE_LWP, &ru)? You'll need to run it on each thread separately, but (depending on how your application is structured) that might not be a bad thing. -- James Carlson 42.703N 71.076W <carls...@workingcode.com> _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code