[dtrace-discuss] track program time - need some guidelines

tester
2009-07-12T02:02:22Z

Thanks Jim.M and  thanks Jim.L. Sure, I can use prstat and post-process. I am
not sure if I can get a accurate profile of the app. If I can go back to my
previous example and assume an multi-threaded app running for 100 clock ticks, I
would like to have a break up and say
usr:20ticks,sys:10,wait1:20,wait2:20,wait3:20,sleep:10. Units of time can be
anything meaningful. Basically, a much more accurate answer  for where my app
spend it''s time than what the traditional tools offer.

I will explore extended accounting and Jim.L suggestion of using /proc. I have
limitation''s with my C programming skills.

Thanks
--
This message posted from opensolaris.org