ARGOBOTS  dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
Macros | Functions
abti_tool.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ABTI_TOOL_EVENT_TAG_SIZE   20 /* bits */
 
#define ABTI_TOOL_EVENT_TAG_MASK
 
#define ABTI_TOOL_EVENT_TAG_INC   ((uint64_t)1 << (uint64_t)(64 - 1 - ABTI_TOOL_EVENT_TAG_SIZE))
 
#define ABTI_TOOL_EVENT_TAG_DIRTY_BIT   ((uint64_t)1 << (uint64_t)(64 - 1))
 

Functions

static ABT_thread ABTI_ythread_get_handle (ABTI_ythread *p_thread)
 
static ABT_task ABTI_thread_get_handle (ABTI_thread *p_task)
 
static ABTI_tool_context * ABTI_tool_context_get_ptr (ABT_tool_context tctx)
 
static ABT_tool_context ABTI_tool_context_get_handle (ABTI_tool_context *p_tctx)
 
static void ABTI_tool_event_thread_update_callback (ABTI_global *p_global, ABT_tool_thread_callback_fn cb_func, uint64_t event_mask, void *user_arg)
 
static void ABTI_tool_event_thread (ABTI_local *p_local, uint64_t event_code, ABTI_thread *p_thread, ABTI_thread *p_caller, ABTI_pool *p_pool, ABTI_thread *p_parent, ABT_sync_event_type sync_event_type, void *p_sync_object)
 

Macro Definition Documentation

◆ ABTI_TOOL_EVENT_TAG_DIRTY_BIT

#define ABTI_TOOL_EVENT_TAG_DIRTY_BIT   ((uint64_t)1 << (uint64_t)(64 - 1))

Definition at line 51 of file abti_tool.h.

◆ ABTI_TOOL_EVENT_TAG_INC

#define ABTI_TOOL_EVENT_TAG_INC   ((uint64_t)1 << (uint64_t)(64 - 1 - ABTI_TOOL_EVENT_TAG_SIZE))

Definition at line 49 of file abti_tool.h.

◆ ABTI_TOOL_EVENT_TAG_MASK

#define ABTI_TOOL_EVENT_TAG_MASK
Value:
((((uint64_t)1 << (uint64_t)ABTI_TOOL_EVENT_TAG_SIZE) - 1) \
<< (uint64_t)(64 - 1 - ABTI_TOOL_EVENT_TAG_SIZE))

Definition at line 46 of file abti_tool.h.

◆ ABTI_TOOL_EVENT_TAG_SIZE

#define ABTI_TOOL_EVENT_TAG_SIZE   20 /* bits */

Definition at line 45 of file abti_tool.h.

Function Documentation

◆ ABTI_thread_get_handle()

static ABT_task ABTI_thread_get_handle ( ABTI_thread p_task)
inlinestatic

Referenced by ABTI_tool_event_thread().

◆ ABTI_tool_context_get_handle()

static ABT_tool_context ABTI_tool_context_get_handle ( ABTI_tool_context *  p_tctx)
inlinestatic

Definition at line 30 of file abti_tool.h.

Referenced by ABTI_tool_event_thread().

◆ ABTI_tool_context_get_ptr()

static ABTI_tool_context* ABTI_tool_context_get_ptr ( ABT_tool_context  tctx)
inlinestatic

Definition at line 14 of file abti_tool.h.

Referenced by ABT_tool_query_thread().

◆ ABTI_tool_event_thread()

static void ABTI_tool_event_thread ( ABTI_local p_local,
uint64_t  event_code,
ABTI_thread p_thread,
ABTI_thread p_caller,
ABTI_pool p_pool,
ABTI_thread p_parent,
ABT_sync_event_type  sync_event_type,
void *  p_sync_object 
)
inlinestatic

◆ ABTI_tool_event_thread_update_callback()

static void ABTI_tool_event_thread_update_callback ( ABTI_global p_global,
ABT_tool_thread_callback_fn  cb_func,
uint64_t  event_mask,
void *  user_arg 
)
inlinestatic

Definition at line 54 of file abti_tool.h.

Referenced by ABT_tool_register_thread_callback(), and finailze_library().

◆ ABTI_ythread_get_handle()

static ABT_thread ABTI_ythread_get_handle ( ABTI_ythread p_thread)
inlinestatic
ABTI_TOOL_EVENT_TAG_SIZE
#define ABTI_TOOL_EVENT_TAG_SIZE
Definition: abti_tool.h:45