开发者

Determining execution time of a thread and IO accesses by different threads

I want to determine execution time of开发者_开发知识库 a thread in a multi-threaded program, and I also want to know about IO accesses made by each thread.

Is there any command/tool which can do this for C programs?


For determining the execution you could try valgrind (specifically the callgrind module). There is also a neat visualization tool for the output called KCacheGrind

For monitoring IO access you could use strace.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜