How to get the cpu usage per thread on Mac OSX [closed] How to get the cpu usage per thread on Mac OSX [closed] multithreading multithreading

How to get the cpu usage per thread on Mac OSX [closed]


You should be able to get this info from the thread_basic_info structure, returned by a call to thread_info.