Anklang C++ API 0.0.0
Loading...
Searching...
No Matches
TaskRegistry

#include "platform.hh"

Public Types

typedef std::vector< Ase::TaskStatus >List

Static Public Member Functions

static voidadd (const std::string &name, int pid, int tid=-1)
static boolis_ase ()
static Listlist ()
static boolremove (int tid)
static voidsetup_ase (const String &name16chars)
static voidupdate ()

Detailed Description

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

Member Typedef Documentation

List

typedef std::vector<Ase::TaskStatus> List

Member Function Documentation

add()

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

Add process/thread to registry for runtime profiling.

remove()

bool remove ( int tid)
static

Remove process/thread based on thread_id.

update()

void update ( )
static

Issue TaskStatus.update on all tasks in registry.

list()

TaskRegistry::List list ( )
static

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

setup_ase()

void setup_ase ( const String & name16chars)
static

is_ase()

static bool is_ase ( )
static