Hello,

I am trying to implement the last switch sorted feature which would display
the last 10 ten threads( as per the timestamp) that got the cpu. I want to
display the run time of the last 10 threads that got the cpu  as well. So,
I am printing the curthread->td_runtime in the on-cpu probe. So, is
curthread->td_runtime a cumulative value? or an incremental value which
denotes the time for which that thread got the cpu and was switched?
Looking forward to hear from you on this.

Thanks and Regards
Abhishek Kulkarni
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "[email protected]"

Reply via email to