HPCToolkit
agent-cilk.h File Reference
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <cilk/cilk.h>
#include <cilk/cilk-internal.h>
#include <lush/lushi.h>
#include <lush/lushi-cb.h>
Include dependency graph for agent-cilk.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  cilk_ip
 
union  cilk_cursor
 

Typedefs

typedef union cilk_ip cilk_ip_t
 
typedef enum unw_ty_e unw_ty_t
 
typedef enum unw_seg_e unw_seg_t
 
typedef enum unw_flg_e unw_flg_t
 
typedef union cilk_cursor cilk_cursor_t
 

Enumerations

enum  unw_ty_e { UnwTy_NULL = 0, UnwTy_Master, UnwTy_WorkerLcl, UnwTy_Worker }
 
enum  unw_seg_e { UnwSeg_NULL = 0, UnwSeg_CilkRT, UnwSeg_User, UnwSeg_CilkSched }
 
enum  unw_flg_e { UnwFlg_NULL = 0x00, UnwFlg_SeenUser = 0x01, UnwFlg_HaveLCtxt = 0x02, UnwFlg_BegLNote = 0x04 }
 

Functions

static void cilk_ip_set (cilk_ip_t *x, ip_normalized_t ip)
 
static bool unw_ty_is_master (unw_ty_t ty)
 
static bool unw_ty_is_worker (unw_ty_t ty)
 
static bool csr_is_flag (cilk_cursor_t *csr, unw_flg_t flg)
 
static void csr_set_flag (cilk_cursor_t *csr, unw_flg_t flg)
 
static void csr_unset_flag (cilk_cursor_t *csr, unw_flg_t flg)
 
static Closure * CILKWS_CL_DEQ_TOP (CilkWorkerState *x)
 
static Closure * CILKWS_CL_DEQ_BOT (CilkWorkerState *x)
 
static volatile CilkStackFrame ** CILKWS_FRAME_DEQ_HEAD (CilkWorkerState *x)
 
static volatile CilkStackFrame ** CILKWS_FRAME_DEQ_TAIL (CilkWorkerState *x)
 
static void * CILKFRM_PROC (CilkStackFrame *x)
 

Typedef Documentation

◆ cilk_cursor_t

typedef union cilk_cursor cilk_cursor_t

Definition at line 186 of file agent-cilk.h.

◆ cilk_ip_t

typedef union cilk_ip cilk_ip_t

Definition at line 95 of file agent-cilk.h.

◆ unw_flg_t

typedef enum unw_flg_e unw_flg_t

Definition at line 174 of file agent-cilk.h.

◆ unw_seg_t

typedef enum unw_seg_e unw_seg_t

Definition at line 158 of file agent-cilk.h.

◆ unw_ty_t

typedef enum unw_ty_e unw_ty_t

Definition at line 131 of file agent-cilk.h.

Enumeration Type Documentation

◆ unw_flg_e

enum unw_flg_e
Enumerator
UnwFlg_NULL 
UnwFlg_SeenUser 
UnwFlg_HaveLCtxt 
UnwFlg_BegLNote 

Definition at line 176 of file agent-cilk.h.

◆ unw_seg_e

enum unw_seg_e
Enumerator
UnwSeg_NULL 
UnwSeg_CilkRT 
UnwSeg_User 
UnwSeg_CilkSched 

Definition at line 160 of file agent-cilk.h.

◆ unw_ty_e

enum unw_ty_e
Enumerator
UnwTy_NULL 
UnwTy_Master 
UnwTy_WorkerLcl 
UnwTy_Worker 

Definition at line 133 of file agent-cilk.h.

Function Documentation

◆ cilk_ip_set()

static void cilk_ip_set ( cilk_ip_t x,
ip_normalized_t  ip 
)
inlinestatic

Definition at line 115 of file agent-cilk.h.

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

◆ CILKFRM_PROC()

static void* CILKFRM_PROC ( CilkStackFrame *  x)
inlinestatic

Definition at line 265 of file agent-cilk.h.

◆ CILKWS_CL_DEQ_BOT()

static Closure* CILKWS_CL_DEQ_BOT ( CilkWorkerState *  x)
inlinestatic

Definition at line 247 of file agent-cilk.h.

Here is the caller graph for this function:

◆ CILKWS_CL_DEQ_TOP()

static Closure* CILKWS_CL_DEQ_TOP ( CilkWorkerState *  x)
inlinestatic

Definition at line 241 of file agent-cilk.h.

◆ CILKWS_FRAME_DEQ_HEAD()

static volatile CilkStackFrame** CILKWS_FRAME_DEQ_HEAD ( CilkWorkerState *  x)
inlinestatic

Definition at line 253 of file agent-cilk.h.

Here is the caller graph for this function:

◆ CILKWS_FRAME_DEQ_TAIL()

static volatile CilkStackFrame** CILKWS_FRAME_DEQ_TAIL ( CilkWorkerState *  x)
inlinestatic

Definition at line 259 of file agent-cilk.h.

Here is the caller graph for this function:

◆ csr_is_flag()

static bool csr_is_flag ( cilk_cursor_t csr,
unw_flg_t  flg 
)
inlinestatic

Definition at line 219 of file agent-cilk.h.

Here is the caller graph for this function:

◆ csr_set_flag()

static void csr_set_flag ( cilk_cursor_t csr,
unw_flg_t  flg 
)
inlinestatic

Definition at line 225 of file agent-cilk.h.

Here is the caller graph for this function:

◆ csr_unset_flag()

static void csr_unset_flag ( cilk_cursor_t csr,
unw_flg_t  flg 
)
inlinestatic

Definition at line 231 of file agent-cilk.h.

Here is the caller graph for this function:

◆ unw_ty_is_master()

static bool unw_ty_is_master ( unw_ty_t  ty)
inlinestatic

Definition at line 142 of file agent-cilk.h.

Here is the caller graph for this function:

◆ unw_ty_is_worker()

static bool unw_ty_is_worker ( unw_ty_t  ty)
inlinestatic

Definition at line 148 of file agent-cilk.h.

Here is the caller graph for this function: