Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
Bse::TaskRegistry Class Reference

#include <bsestartup.hh>

Collaboration diagram for Bse::TaskRegistry:

Public Types

typedef std::vector< Rapicorn::TaskStatusList
 

Static Public Member Functions

static void add (const std::string &name, int pid, int tid=-1)
 
static bool remove (int tid)
 
static void update ()
 
static List list ()
 

Detailed Description

The task registry keeps track of runtime threads for profiling and statistical purposes.

Member Function Documentation

void Bse::TaskRegistry::add ( const std::string name,
int  pid,
int  tid = -1 
)
static

Add process/thread to registry for runtime profiling.

Referenced by bse_module_new_virtual().

Here is the call graph for this function:

Here is the caller graph for this function:

TaskRegistry::List Bse::TaskRegistry::list ( )
static

Retrieve a copy to the list of all tasks in registry.

Here is the call graph for this function:

bool Bse::TaskRegistry::remove ( int  tid)
static

Remove process/thread based on thread_id.

Referenced by bse_module_new_virtual().

Here is the call graph for this function:

Here is the caller graph for this function:

void Bse::TaskRegistry::update ( )
static

Issue TaskStatus.update on all tasks in registry.


The documentation for this class was generated from the following files: