HPCToolkit
threadmgr.h File Reference
#include "thread_data.h"
Include dependency graph for threadmgr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OPTION_NO_COMPACT_THREAD   0
 
#define OPTION_COMPACT_THREAD   1
 

Functions

void hpcrun_threadmgr_thread_new ()
 
void hpcrun_threadmgr_thread_delete ()
 
int hpcrun_threadmgr_thread_count ()
 
bool hpcrun_threadMgr_data_get (int id, cct_ctxt_t *thr_ctxt, thread_data_t **data)
 
void hpcrun_threadMgr_data_put (epoch_t *epoch, thread_data_t *data)
 
void hpcrun_threadMgr_data_fini (thread_data_t *td)
 
int hpcrun_threadMgr_compact_thread ()
 

Macro Definition Documentation

◆ OPTION_COMPACT_THREAD

#define OPTION_COMPACT_THREAD   1

Definition at line 66 of file threadmgr.h.

◆ OPTION_NO_COMPACT_THREAD

#define OPTION_NO_COMPACT_THREAD   0

Definition at line 65 of file threadmgr.h.

Function Documentation

◆ hpcrun_threadMgr_compact_thread()

int hpcrun_threadMgr_compact_thread ( )

Return the type of HPCRUN_OPTION_MERGE_THREAD option Possible value: OPTION_COMPACT_THREAD : (default) compact thread is required OPTION_NO_COMPACT_THREAD : do not compact the threads

Definition at line 244 of file threadmgr.c.

Here is the caller graph for this function:

◆ hpcrun_threadMgr_data_fini()

void hpcrun_threadMgr_data_fini ( thread_data_t td)

Definition at line 354 of file threadmgr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_threadMgr_data_get()

bool hpcrun_threadMgr_data_get ( int  id,
cct_ctxt_t thr_ctxt,
thread_data_t **  data 
)

Definition at line 275 of file threadmgr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_threadMgr_data_put()

void hpcrun_threadMgr_data_put ( epoch_t epoch,
thread_data_t data 
)

Definition at line 310 of file threadmgr.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_threadmgr_thread_count()

int hpcrun_threadmgr_thread_count ( )

Definition at line 232 of file threadmgr.c.

Here is the caller graph for this function:

◆ hpcrun_threadmgr_thread_delete()

void hpcrun_threadmgr_thread_delete ( )

Definition at line 225 of file threadmgr.c.

Here is the caller graph for this function:

◆ hpcrun_threadmgr_thread_new()

void hpcrun_threadmgr_thread_new ( )

Definition at line 218 of file threadmgr.c.

Here is the caller graph for this function: