将gprof与pthreads一起使用 [英] Using gprof with pthreads

查看:102
本文介绍了将gprof与pthreads一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用gprof来分析使用pthread的多线程程序?也就是说,它的输出是否包括所有线程中使用的时间?

Can gprof be used to profile a multi-threaded program that uses pthreads? That is, will its output include the time used in all the threads?

推荐答案

是的,有可能通过 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆