The Sun Studio Performance Tools do statistical callstack profiling
of an application, and collects the profile ticks for all microstates.
They do not track state transitions, but they give pretty meaningful
statistical results over minutes, and perhaps even tens of seconds,
especially if you do high-resolution profiling.

See:  http://developers.sun.com/sunstudio/
and: http://developers.sun.com/sunstudio/overview/topics/analyzer_index.html

   Marty Itzkowitz


On 7/11/09 7:02 PM, tester wrote:
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
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to