阅读背景:

是否有可以用来跟踪上下文切换的Linux系统api ?

来源:互联网 

I am interested in writing a performance profiler (just for fun). I would like to track context switches in Linux so that I can record the time between context-switch-in and context-switch-out of threads (belonging to the process being profiled). I would also like to record the associated callstack (in cases when they're different from previously recorded stacks) besides time.I am interested in writing a performance profil




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: