Anklang 0.3.0-460-gc4ef46ba
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 () |
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 1064 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 |
Retrieve a copy to the list of all tasks in registry.
Definition at line 1095 of file platform.cc.
Remove process/thread based on thread_id.
Definition at line 1074 of file platform.cc.
References std::vector::begin(), std::vector::end(), and std::vector::erase().
|
static |
Definition at line 1102 of file platform.cc.
|
static |
Issue TaskStatus.update on all tasks in registry.
Definition at line 1087 of file platform.cc.