Skip to content

Class Ase::TaskRegistry

ClassList > Ase > TaskRegistry

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

  • #include <platform.hh>

Public Types

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

Public Static Functions

Type Name
void add (const std::string & name, int pid, int tid=-1)
Add process/thread to registry for runtime profiling.
bool is_ase ()
List list ()
Retrieve a copy to the list of all tasks in registry.
bool remove (int tid)
Remove process/thread based on thread_id.
void setup_ase (const String & name16chars)
void update ()
Issue TaskStatus.update on all tasks in registry.

Public Types Documentation

typedef List

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

Public Static Functions Documentation

function add

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

function is_ase

static inline bool Ase::TaskRegistry::is_ase () 

function list

static List Ase::TaskRegistry::list () 

function remove

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

function setup_ase

static void Ase::TaskRegistry::setup_ase (
    const String & name16chars
) 

function update

static void Ase::TaskRegistry::update () 


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/platform.hh