BEAST/BSE - Better Audio System and Sound Engine
0.8.2
|
The task registry keeps track of runtime threads for profiling and statistical purposes. More...
#include <bsecore.hh>
Public Types | |
typedef std::vector < Rapicorn::TaskStatus > | List |
Static Public Member Functions | |
static void | add (const std::string &name, int pid, int tid=-1) |
Add process/thread to registry for runtime profiling. | |
static bool | remove (int tid) |
Remove process/thread based on thread_id. | |
static void | update () |
Issue TaskStatus.update on all tasks in registry. | |
static List | list () |
Retrieve a copy to the list of all tasks in registry. |
The task registry keeps track of runtime threads for profiling and statistical purposes.