|
Anklang-0.3.0.dev551+gad1415e2 anklang-0.3.0.dev551+gad1415e2
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
The task registry keeps track of runtime threads for profiling and statistical purposes. More...
#include "platform.hh"
Public Types | |
| typedef std::vector< Ase::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. | |
| static void | setup_ase (const String &name16chars) |
| static bool | is_ase () |
| static bool | is_main () |
The task registry keeps track of runtime threads for profiling and statistical purposes.
Definition at line 156 of file platform.hh.
Definition at line 159 of file platform.hh.
|
static |
Add process/thread to registry for runtime profiling.
Definition at line 1065 of file platform.cc.
References Ase::TaskStatus::name, std::vector::push_back(), and Ase::TaskStatus::update().
|
static |
Definition at line 166 of file platform.hh.
|
static |
Definition at line 167 of file platform.hh.
|
static |
Retrieve a copy to the list of all tasks in registry.
Definition at line 1096 of file platform.cc.
Remove process/thread based on thread_id.
Definition at line 1075 of file platform.cc.
References std::vector::begin(), std::vector::end(), and std::vector::erase().
|
static |
Definition at line 1103 of file platform.cc.
|
static |
Issue TaskStatus.update on all tasks in registry.
Definition at line 1088 of file platform.cc.