开发者

How to find out how much CPU time was spent by boost Thread and all threads that thread has created?

开发者 https://www.devze.com 2023-03-28 09:23 出处:网络
So I create simple boost::thread it can create new threads that can create new threads etc. I want to be capable to get how much CPU time was 开发者_如何学Pythongiven to thread (and threads it has cre

So I create simple boost::thread it can create new threads that can create new threads etc. I want to be capable to get how much CPU time was 开发者_如何学Pythongiven to thread (and threads it has created) having original thread boost::thread::id. How to do such thing?

0

精彩评论

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