How to find out how much CPU time was spent by boost Thread and all threads that thread has created?
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?
精彩评论