ompt-specific.c File Reference

#include "kmp.h"
#include "ompt-internal.h"
#include "ompt-specific.h"

Go to the source code of this file.

Defines

#define CREATE_ID(ti, tid)   ( ((ti) << OMPT_THREAD_ID_BITS) | (tid) )
#define NEXT_ID(ti, tid)   ((((ti)->th.ompt_thread_info.next_parallel_id++) << OMPT_THREAD_ID_BITS) | (tid))
#define OMPT_THREAD_ID_BITS   20

Functions

void * __ompt_get_idle_frame_internal (void)
ompt_lw_taskteam_t__ompt_get_lw_taskteam (int *ancestor_level)
void * __ompt_get_parallel_function_internal (int ancestor_level)
ompt_parallel_id_t __ompt_get_parallel_id_internal (int ancestor_level)
int __ompt_get_runtime_version_internal (char *buffer, int length)
ompt_state_t __ompt_get_state_internal (ompt_wait_id_t *ompt_wait_id)
ompt_frame_t__ompt_get_task_frame_internal (int ancestor_level)
void * __ompt_get_task_function_internal (int ancestor_level)
ompt_task_id_t __ompt_get_task_id_internal (int ancestor_level)
void __ompt_lw_taskteam_init (ompt_lw_taskteam_t *lwt, kmp_info_t *thr, int gtid, microtask_t microtask, ompt_parallel_id_t ompt_pid)
void __ompt_lw_taskteam_link (ompt_lw_taskteam_t *lwt, kmp_info_t *thr)
void __ompt_lw_taskteam_unlink (ompt_lw_taskteam_t *lwt, kmp_info_t *thr)
ompt_parallel_id_t __ompt_parallel_id_new (kmp_info_t *ti, int gtid)
void __ompt_team_assign_id (kmp_team_t *team, ompt_parallel_id_t ompt_pid)
void __ompt_thread_assign_wait_id (void *variable)
kmp_taskdata_tompt_task (int ancestor_level)
kmp_team_tompt_team (int ancestor_level)

Define Documentation

#define CREATE_ID ( ti,
tid   )     ( ((ti) << OMPT_THREAD_ID_BITS) | (tid) )

Definition at line 152 of file ompt-specific.c.

Referenced by __ompt_parallel_id_new().

#define NEXT_ID ( ti,
tid   )     ((((ti)->th.ompt_thread_info.next_parallel_id++) << OMPT_THREAD_ID_BITS) | (tid))

Definition at line 153 of file ompt-specific.c.

#define OMPT_THREAD_ID_BITS   20

Definition at line 151 of file ompt-specific.c.


Function Documentation

void* __ompt_get_idle_frame_internal ( void   ) 

Definition at line 70 of file ompt-specific.c.

References ompt_get_thread().

Referenced by ompt_get_idle_frame().

ompt_lw_taskteam_t* __ompt_get_lw_taskteam ( int *  ancestor_level  ) 
void* __ompt_get_parallel_function_internal ( int  ancestor_level  ) 
ompt_parallel_id_t __ompt_get_parallel_id_internal ( int  ancestor_level  ) 
int __ompt_get_runtime_version_internal ( char *  buffer,
int  length 
)

Definition at line 221 of file ompt-specific.c.

References __kmp_version_lib_ver.

Referenced by ompt_get_runtime_version().

ompt_state_t __ompt_get_state_internal ( ompt_wait_id_t ompt_wait_id  ) 

Definition at line 56 of file ompt-specific.c.

References ompt_get_thread().

Referenced by ompt_get_state().

ompt_frame_t* __ompt_get_task_frame_internal ( int  ancestor_level  ) 

Definition at line 143 of file ompt-specific.c.

References ompt_task().

Referenced by ompt_get_task_frame().

void* __ompt_get_task_function_internal ( int  ancestor_level  ) 

Definition at line 134 of file ompt-specific.c.

References ompt_task().

Referenced by ompt_get_task_function().

ompt_task_id_t __ompt_get_task_id_internal ( int  ancestor_level  ) 
void __ompt_lw_taskteam_init ( ompt_lw_taskteam_t lwt,
kmp_info_t thr,
int  gtid,
microtask_t  microtask,
ompt_parallel_id_t  ompt_pid 
)
void __ompt_lw_taskteam_link ( ompt_lw_taskteam_t lwt,
kmp_info_t thr 
)

Definition at line 207 of file ompt-specific.c.

References ompt_lw_taskteam_s::parent.

Referenced by __kmp_fork_call().

void __ompt_lw_taskteam_unlink ( ompt_lw_taskteam_t lwt,
kmp_info_t thr 
)

Definition at line 215 of file ompt-specific.c.

References ompt_lw_taskteam_s::parent.

Referenced by __kmp_fork_call().

ompt_parallel_id_t __ompt_parallel_id_new ( kmp_info_t ti,
int  gtid 
)
void __ompt_team_assign_id ( kmp_team_t team,
ompt_parallel_id_t  ompt_pid 
)

Definition at line 179 of file ompt-specific.c.

References kmp_team::t.

Referenced by __kmp_allocate_team().

void __ompt_thread_assign_wait_id ( void *  variable  ) 

Definition at line 185 of file ompt-specific.c.

References __kmp_gtid_get_specific(), and ompt_get_thread_gtid().

Referenced by GOMP_atomic_start().

kmp_taskdata_t* ompt_task ( int  ancestor_level  ) 
kmp_team_t* ompt_team ( int  ancestor_level  ) 

Generated on 25 Aug 2013 for libomp_oss by  doxygen 1.6.1