LLVM OpenMP 22.0.0git
ompt-general.cpp File Reference
#include "kmp_utils.h"
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ompt-specific.cpp"

Go to the source code of this file.

Classes

struct  ompt_state_info_t
struct  kmp_mutex_impl_info_t

Macros

#define ompt_get_callback_success   1
#define ompt_get_callback_failure   0
#define no_tool_present   0
#define OMPT_API_ROUTINE   static
#define OMPT_STR_MATCH(haystack, needle)
#define OMPT_VERBOSE_INIT_PRINT(...)
#define OMPT_VERBOSE_INIT_CONTINUED_PRINT(...)
#define ompt_state_macro(state, code)
#define kmp_mutex_impl_macro(name, id)
#define OMPT_DLCLOSE(Lib)
#define ompt_event_macro(event_name, callback_type, event_id)
#define ompt_event_macro(event_name, callback_type, event_id)
#define ompt_interface_fn(fn)
#define provide_fn(fn)
#define ompt_interface_fn(fn, type, code)

Typedefs

typedef ompt_start_tool_result_t *(* ompt_start_tool_t) (unsigned int, const char *)

Enumerations

enum  tool_setting_e { omp_tool_error , omp_tool_unset , omp_tool_disabled , omp_tool_enabled }

Functions

static ompt_interface_fn_t ompt_fn_lookup (const char *s)
OMPT_API_ROUTINE ompt_data_t * ompt_get_thread_data (void)
static ompt_start_tool_result_tompt_try_start_tool (unsigned int omp_version, const char *runtime_version)
 if (ret)
 OMPT_VERBOSE_INIT_PRINT ("No OMP tool loaded.\n")
 OMPT_VERBOSE_INIT_PRINT ("----- END LOGGING OF TOOL REGISTRATION -----\n")
void ompt_pre_init ()
int omp_get_initial_device (void)
void ompt_post_init ()
void ompt_fini ()
OMPT_API_ROUTINE int ompt_enumerate_states (int current_state, int *next_state, const char **next_state_name)
OMPT_API_ROUTINE int ompt_enumerate_mutex_impls (int current_impl, int *next_impl, const char **next_impl_name)
OMPT_API_ROUTINE ompt_set_result_t ompt_set_callback (ompt_callbacks_t which, ompt_callback_t callback)
OMPT_API_ROUTINE int ompt_get_callback (ompt_callbacks_t which, ompt_callback_t *callback)
OMPT_API_ROUTINE int ompt_get_parallel_info (int ancestor_level, ompt_data_t **parallel_data, int *team_size)
OMPT_API_ROUTINE int ompt_get_state (ompt_wait_id_t *wait_id)
OMPT_API_ROUTINE int ompt_get_task_info (int ancestor_level, int *type, ompt_data_t **task_data, ompt_frame_t **task_frame, ompt_data_t **parallel_data, int *thread_num)
OMPT_API_ROUTINE int ompt_get_task_memory (void **addr, size_t *size, int block)
OMPT_API_ROUTINE int ompt_get_num_procs (void)
OMPT_API_ROUTINE int ompt_get_num_places (void)
OMPT_API_ROUTINE int ompt_get_place_proc_ids (int place_num, int ids_size, int *ids)
OMPT_API_ROUTINE int ompt_get_place_num (void)
OMPT_API_ROUTINE int ompt_get_partition_place_nums (int place_nums_size, int *place_nums)
OMPT_API_ROUTINE int ompt_get_proc_id (void)
int __kmp_control_tool (uint64_t command, uint64_t modifier, void *arg)
OMPT_API_ROUTINE uint64_t ompt_get_unique_id (void)
OMPT_API_ROUTINE void ompt_finalize_tool (void)
OMPT_API_ROUTINE int ompt_get_target_info (uint64_t *device_num, ompt_id_t *target_id, ompt_id_t *host_op_id)
OMPT_API_ROUTINE int ompt_get_num_devices (void)
static ompt_data_t * ompt_get_task_data ()
static ompt_data_t * ompt_get_target_task_data ()
static ompt_interface_fn_t ompt_libomp_target_fn_lookup (const char *s)
 Lookup function to query libomp callbacks registered by the tool.
_OMP_EXTERN void ompt_libomp_connect (ompt_start_tool_result_t *result)
 This function is called by the libomptarget connector to assign callbacks already registered with libomp.

Variables

static FILE * verbose_file
static int verbose_init
ompt_callbacks_active_t ompt_enabled
ompt_state_info_t ompt_state_info []
kmp_mutex_impl_info_t kmp_mutex_impl_info []
ompt_callbacks_internal_t ompt_callbacks
static ompt_start_tool_result_tompt_start_tool_result = NULL
static voidompt_tool_module = NULL
static voidompt_archer_module = NULL
static ompt_start_tool_result_tlibomptarget_ompt_result = NULL
 Used to track the initializer and the finalizer provided by libomptarget.
 else
return ret

Macro Definition Documentation

◆ kmp_mutex_impl_macro

#define kmp_mutex_impl_macro ( name,
id )
Value:
{#name, name},
__itt_string_handle * name
Definition ittnotify.h:3305

◆ no_tool_present

#define no_tool_present   0

Definition at line 41 of file ompt-general.cpp.

◆ OMPT_API_ROUTINE

◆ OMPT_DLCLOSE

#define OMPT_DLCLOSE ( Lib)
Value:
dlclose(Lib)

Definition at line 113 of file ompt-general.cpp.

Referenced by ompt_fini(), and ompt_try_start_tool().

◆ ompt_event_macro [1/2]

#define ompt_event_macro ( event_name,
callback_type,
event_id )
Value:
case event_name: \
ompt_callbacks.ompt_callback(event_name) = (callback_type)callback; \
ompt_enabled.event_name = (callback != 0); \
if (callback) \
return ompt_event_implementation_status(event_name); \
else \
return ompt_set_always;
#define ompt_event_implementation_status(e)
ompt_callbacks_active_t ompt_enabled
ompt_callbacks_internal_t ompt_callbacks

Referenced by ompt_get_callback(), ompt_multiplex_client_set_callback(), ompt_multiplex_initialize(), ompt_multiplex_own_set_callback(), and ompt_set_callback().

◆ ompt_event_macro [2/2]

#define ompt_event_macro ( event_name,
callback_type,
event_id )
Value:
case event_name: { \
ompt_callback_t mycb = \
(ompt_callback_t)ompt_callbacks.ompt_callback(event_name); \
if (ompt_enabled.event_name && mycb) { \
*callback = mycb; \
} \
}
#define ompt_get_callback_failure
#define ompt_get_callback_success

◆ ompt_get_callback_failure

#define ompt_get_callback_failure   0

Definition at line 39 of file ompt-general.cpp.

Referenced by ompt_get_callback().

◆ ompt_get_callback_success

#define ompt_get_callback_success   1

Definition at line 38 of file ompt-general.cpp.

◆ ompt_interface_fn [1/2]

#define ompt_interface_fn ( fn)
Value:
fn##_t fn##_f = fn; \
if (strcmp(s, #fn) == 0) \
return (ompt_interface_fn_t)fn##_f;
void const char const char int ITT_FORMAT __itt_group_sync s
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain __itt_id ITT_FORMAT p const __itt_domain __itt_id __itt_timestamp __itt_timestamp ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain ITT_FORMAT p const __itt_domain __itt_string_handle unsigned long long ITT_FORMAT lu const __itt_domain __itt_string_handle unsigned long long ITT_FORMAT lu const __itt_domain __itt_id __itt_string_handle __itt_metadata_type size_t void ITT_FORMAT p const __itt_domain __itt_id __itt_string_handle const wchar_t size_t ITT_FORMAT lu const __itt_domain __itt_id __itt_relation __itt_id ITT_FORMAT p const wchar_t int ITT_FORMAT __itt_group_mark d __itt_event ITT_FORMAT __itt_group_mark d void const wchar_t const wchar_t int ITT_FORMAT __itt_group_sync __itt_group_fsync x void const wchar_t int const wchar_t int int ITT_FORMAT __itt_group_sync __itt_group_fsync x void ITT_FORMAT __itt_group_sync __itt_group_fsync p void ITT_FORMAT __itt_group_sync __itt_group_fsync p void size_t ITT_FORMAT lu no args __itt_obj_prop_t __itt_obj_state_t ITT_FORMAT d const char ITT_FORMAT s const char ITT_FORMAT s __itt_frame ITT_FORMAT p __itt_counter ITT_FORMAT p __itt_counter unsigned long long ITT_FORMAT lu __itt_counter unsigned long long ITT_FORMAT lu __itt_counter __itt_clock_domain unsigned long long void ITT_FORMAT p const wchar_t ITT_FORMAT S __itt_mark_type const wchar_t ITT_FORMAT S __itt_mark_type const char ITT_FORMAT s __itt_mark_type ITT_FORMAT d __itt_caller ITT_FORMAT p __itt_caller ITT_FORMAT p no args const __itt_domain __itt_clock_domain unsigned long long __itt_id ITT_FORMAT lu const __itt_domain __itt_clock_domain unsigned long long __itt_id __itt_id void * fn

Referenced by ompt_fn_lookup(), and ompt_libomp_target_fn_lookup().

◆ ompt_interface_fn [2/2]

#define ompt_interface_fn ( fn,
type,
code )
Value:
if (strcmp(s, #fn) == 0) \
return (ompt_interface_fn_t)ompt_callbacks.ompt_callback(fn);

◆ ompt_state_macro

#define ompt_state_macro ( state,
code )
Value:
{#state, state},

◆ OMPT_STR_MATCH

#define OMPT_STR_MATCH ( haystack,
needle )
Value:
(!strcasecmp(haystack, needle))

Definition at line 46 of file ompt-general.cpp.

Referenced by ompt_pre_init().

◆ OMPT_VERBOSE_INIT_CONTINUED_PRINT

#define OMPT_VERBOSE_INIT_CONTINUED_PRINT ( ...)
Value:
if (verbose_init) \
fprintf(verbose_file, __VA_ARGS__)
static int verbose_init
static FILE * verbose_file

Definition at line 56 of file ompt-general.cpp.

Referenced by ompt_try_start_tool().

◆ OMPT_VERBOSE_INIT_PRINT

#define OMPT_VERBOSE_INIT_PRINT ( ...)
Value:
if (verbose_init) \
fprintf(verbose_file, __VA_ARGS__)

Definition at line 53 of file ompt-general.cpp.

Referenced by if(), ompt_libomp_connect(), ompt_pre_init(), and ompt_try_start_tool().

◆ provide_fn

#define provide_fn ( fn)
Value:
if (strcmp(s, #fn) == 0) \
return (ompt_interface_fn_t)fn;

Referenced by ompt_libomp_target_fn_lookup().

Typedef Documentation

◆ ompt_start_tool_t

typedef ompt_start_tool_result_t *(* ompt_start_tool_t) (unsigned int, const char *)

Definition at line 131 of file ompt-general.cpp.

Enumeration Type Documentation

◆ tool_setting_e

Enumerator
omp_tool_error 
omp_tool_unset 
omp_tool_disabled 
omp_tool_enabled 

Definition at line 77 of file ompt-general.cpp.

Function Documentation

◆ __kmp_control_tool()

int __kmp_control_tool ( uint64_t command,
uint64_t modifier,
void * arg )

Definition at line 833 of file ompt-general.cpp.

References __kmp_entry_gtid, ompt_callbacks, and ompt_enabled.

Referenced by FTN_CONTROL_TOOL().

◆ if()

if ( ret )

Definition at line 356 of file ompt-general.cpp.

References OMPT_VERBOSE_INIT_PRINT, and ret.

◆ omp_get_initial_device()

int omp_get_initial_device ( void )

◆ ompt_enumerate_mutex_impls()

OMPT_API_ROUTINE int ompt_enumerate_mutex_impls ( int current_impl,
int * next_impl,
const char ** next_impl_name )

Definition at line 561 of file ompt-general.cpp.

References i, kmp_mutex_impl_info, and OMPT_API_ROUTINE.

◆ ompt_enumerate_states()

OMPT_API_ROUTINE int ompt_enumerate_states ( int current_state,
int * next_state,
const char ** next_state_name )

Definition at line 545 of file ompt-general.cpp.

References i, OMPT_API_ROUTINE, and ompt_state_info.

◆ ompt_finalize_tool()

OMPT_API_ROUTINE void ompt_finalize_tool ( void )

Definition at line 855 of file ompt-general.cpp.

References __kmp_internal_end_atexit(), and OMPT_API_ROUTINE.

◆ ompt_fini()

◆ ompt_fn_lookup()

ompt_interface_fn_t ompt_fn_lookup ( const char * s)
static

Definition at line 875 of file ompt-general.cpp.

References ompt_interface_fn, and s.

Referenced by ompt_post_init().

◆ ompt_get_callback()

OMPT_API_ROUTINE int ompt_get_callback ( ompt_callbacks_t which,
ompt_callback_t * callback )

◆ ompt_get_num_devices()

OMPT_API_ROUTINE int ompt_get_num_devices ( void )

Definition at line 867 of file ompt-general.cpp.

References OMPT_API_ROUTINE.

◆ ompt_get_num_places()

OMPT_API_ROUTINE int ompt_get_num_places ( void )

Definition at line 695 of file ompt-general.cpp.

References OMPT_API_ROUTINE.

◆ ompt_get_num_procs()

OMPT_API_ROUTINE int ompt_get_num_procs ( void )

Definition at line 685 of file ompt-general.cpp.

References __kmp_avail_proc, and OMPT_API_ROUTINE.

◆ ompt_get_parallel_info()

OMPT_API_ROUTINE int ompt_get_parallel_info ( int ancestor_level,
ompt_data_t ** parallel_data,
int * team_size )

◆ ompt_get_partition_place_nums()

OMPT_API_ROUTINE int ompt_get_partition_place_nums ( int place_nums_size,
int * place_nums )

◆ ompt_get_place_num()

◆ ompt_get_place_proc_ids()

OMPT_API_ROUTINE int ompt_get_place_proc_ids ( int place_num,
int ids_size,
int * ids )

Definition at line 706 of file ompt-general.cpp.

References count, i, j, mask, and OMPT_API_ROUTINE.

◆ ompt_get_proc_id()

OMPT_API_ROUTINE int ompt_get_proc_id ( void )

Definition at line 802 of file ompt-general.cpp.

References __kmp_get_gtid, OMPT_API_ROUTINE, and ompt_enabled.

◆ ompt_get_state()

OMPT_API_ROUTINE int ompt_get_state ( ompt_wait_id_t * wait_id)

Definition at line 643 of file ompt-general.cpp.

References __ompt_get_state_internal(), OMPT_API_ROUTINE, and ompt_enabled.

◆ ompt_get_target_info()

OMPT_API_ROUTINE int ompt_get_target_info ( uint64_t * device_num,
ompt_id_t * target_id,
ompt_id_t * host_op_id )

Definition at line 861 of file ompt-general.cpp.

References OMPT_API_ROUTINE.

◆ ompt_get_target_task_data()

ompt_data_t * ompt_get_target_task_data ( )
static

Definition at line 891 of file ompt-general.cpp.

References __ompt_get_target_task_data().

Referenced by ompt_libomp_target_fn_lookup().

◆ ompt_get_task_data()

ompt_data_t * ompt_get_task_data ( )
static

Definition at line 889 of file ompt-general.cpp.

References __ompt_get_task_data().

Referenced by ompt_libomp_target_fn_lookup().

◆ ompt_get_task_info()

OMPT_API_ROUTINE int ompt_get_task_info ( int ancestor_level,
int * type,
ompt_data_t ** task_data,
ompt_frame_t ** task_frame,
ompt_data_t ** parallel_data,
int * thread_num )

◆ ompt_get_task_memory()

OMPT_API_ROUTINE int ompt_get_task_memory ( void ** addr,
size_t * size,
int block )

Definition at line 676 of file ompt-general.cpp.

References __ompt_get_task_memory_internal(), addr, OMPT_API_ROUTINE, and size.

◆ ompt_get_thread_data()

OMPT_API_ROUTINE ompt_data_t * ompt_get_thread_data ( void )

◆ ompt_get_unique_id()

OMPT_API_ROUTINE uint64_t ompt_get_unique_id ( void )

Definition at line 851 of file ompt-general.cpp.

References __ompt_get_unique_id_internal(), and OMPT_API_ROUTINE.

◆ ompt_libomp_connect()

_OMP_EXTERN void ompt_libomp_connect ( ompt_start_tool_result_t * result)

This function is called by the libomptarget connector to assign callbacks already registered with libomp.

Definition at line 920 of file ompt-general.cpp.

References __ompt_force_initialization(), _OMP_EXTERN, libomptarget_ompt_result, ompt_enabled, ompt_libomp_target_fn_lookup(), OMPT_VERBOSE_INIT_PRINT, and result.

◆ ompt_libomp_target_fn_lookup()

ompt_interface_fn_t ompt_libomp_target_fn_lookup ( const char * s)
static

Lookup function to query libomp callbacks registered by the tool.

Definition at line 896 of file ompt-general.cpp.

References ompt_get_callback, ompt_get_target_task_data(), ompt_get_task_data(), ompt_interface_fn, provide_fn, and s.

Referenced by ompt_libomp_connect().

◆ ompt_post_init()

◆ ompt_pre_init()

◆ ompt_set_callback()

OMPT_API_ROUTINE ompt_set_result_t ompt_set_callback ( ompt_callbacks_t which,
ompt_callback_t callback )

Definition at line 581 of file ompt-general.cpp.

References OMPT_API_ROUTINE, and ompt_event_macro.

◆ ompt_try_start_tool()

ompt_start_tool_result_t * ompt_try_start_tool ( unsigned int omp_version,
const char * runtime_version )
static

◆ OMPT_VERBOSE_INIT_PRINT() [1/2]

OMPT_VERBOSE_INIT_PRINT ( "----- END LOGGING OF TOOL REGISTRATION -----\n" )

◆ OMPT_VERBOSE_INIT_PRINT() [2/2]

OMPT_VERBOSE_INIT_PRINT ( "No OMP tool loaded.\n" )

Variable Documentation

◆ else

else
Initial value:
{
OMPT_VERBOSE_INIT_PRINT("No OMP_TOOL_LIBRARIES defined.\n")
#define OMPT_VERBOSE_INIT_PRINT(...)

Definition at line 351 of file ompt-general.cpp.

◆ kmp_mutex_impl_info

kmp_mutex_impl_info_t kmp_mutex_impl_info[]
Initial value:
= {
#define kmp_mutex_impl_macro(name, id)
}

Definition at line 96 of file ompt-general.cpp.

Referenced by ompt_enumerate_mutex_impls().

◆ libomptarget_ompt_result

ompt_start_tool_result_t* libomptarget_ompt_result = NULL
static

Used to track the initializer and the finalizer provided by libomptarget.

Definition at line 117 of file ompt-general.cpp.

Referenced by ompt_fini(), and ompt_libomp_connect().

◆ ompt_archer_module

void* ompt_archer_module = NULL
static

Definition at line 112 of file ompt-general.cpp.

Referenced by ompt_fini().

◆ ompt_callbacks

ompt_callbacks_internal_t ompt_callbacks

Definition at line 102 of file ompt-general.cpp.

Referenced by __kmp_acquire_atomic_lock(), __kmp_barrier_template(), __kmp_control_tool(), __kmp_dispatch_init(), __kmp_dist_for_static_init(), __kmp_for_static_init(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_fork_in_teams(), __kmp_GOMP_fork_call(), __kmp_internal_join(), __kmp_invoke_task(), __kmp_invoke_task_func(), __kmp_invoke_teams_master(), __kmp_join_barrier(), __kmp_join_call(), __kmp_launch_thread(), __kmp_omp_taskloop_task(), __kmp_register_root(), __kmp_release_atomic_lock(), __kmp_reset_root(), __kmp_serial_fork_call(), __kmp_serialized_parallel(), __kmp_taskloop(), __kmp_track_dependence(), __kmpc_cancel(), __kmpc_cancellationpoint(), __kmpc_critical(), __kmpc_destroy_lock(), __kmpc_destroy_nest_lock(), __kmpc_doacross_post(), __kmpc_doacross_wait(), __kmpc_end_critical(), __kmpc_end_masked(), __kmpc_end_master(), __kmpc_end_ordered(), __kmpc_end_scope(), __kmpc_end_sections(), __kmpc_end_serialized_parallel(), __kmpc_end_single(), __kmpc_end_taskgroup(), __kmpc_error(), __kmpc_flush(), __kmpc_for_static_fini(), __kmpc_init_lock(), __kmpc_init_nest_lock(), __kmpc_masked(), __kmpc_master(), __kmpc_next_section(), __kmpc_omp_task(), __kmpc_omp_task_begin_if0_template(), __kmpc_omp_task_parts(), __kmpc_omp_task_with_deps(), __kmpc_omp_taskwait_deps_51(), __kmpc_omp_taskwait_template(), __kmpc_ordered(), __kmpc_scope(), __kmpc_sections_init(), __kmpc_set_lock(), __kmpc_set_nest_lock(), __kmpc_single(), __kmpc_taskgroup(), __kmpc_test_lock(), __kmpc_test_nest_lock(), __kmpc_unset_lock(), __kmpc_unset_nest_lock(), KMP_API_NAME_GOMP_SINGLE_START(), and ompt_post_init().

◆ ompt_enabled

Definition at line 88 of file ompt-general.cpp.

Referenced by __kmp_acquire_atomic_lock(), __kmp_acquire_queuing_lock_timed_template(), __kmp_barrier_template(), __kmp_control_tool(), __kmp_dispatch_init(), __kmp_dist_for_static_init(), __kmp_for_static_init(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_fork_in_teams(), __kmp_fulfill_event(), __kmp_GOMP_fork_call(), __kmp_GOMP_microtask_wrapper(), __kmp_GOMP_par_reductions_microtask_wrapper(), __kmp_GOMP_parallel_microtask_wrapper(), __kmp_init_implicit_task(), __kmp_internal_join(), __kmp_invoke_task(), __kmp_invoke_task_func(), __kmp_invoke_teams_master(), __kmp_join_barrier(), __kmp_join_call(), __kmp_launch_thread(), __kmp_omp_taskloop_task(), __kmp_register_root(), __kmp_release_atomic_lock(), __kmp_reset_root(), __kmp_serial_fork_call(), __kmp_serialized_parallel(), __kmp_task_alloc(), __kmp_task_dup_alloc(), __kmp_taskloop(), __kmp_taskloop_linear(), __kmp_track_dependence(), __kmp_wait_template(), __kmpc_barrier(), __kmpc_barrier_master(), __kmpc_barrier_master_nowait(), __kmpc_cancel(), __kmpc_cancellationpoint(), __kmpc_copyprivate(), __kmpc_copyprivate_light(), __kmpc_critical(), __kmpc_destroy_lock(), __kmpc_destroy_nest_lock(), __kmpc_doacross_post(), __kmpc_doacross_wait(), __kmpc_end(), __kmpc_end_critical(), __kmpc_end_masked(), __kmpc_end_master(), __kmpc_end_ordered(), __kmpc_end_reduce(), __kmpc_end_scope(), __kmpc_end_sections(), __kmpc_end_serialized_parallel(), __kmpc_end_single(), __kmpc_end_taskgroup(), __kmpc_error(), __kmpc_flush(), __kmpc_for_static_fini(), __kmpc_fork_call(), __kmpc_fork_teams(), __kmpc_init_lock(), __kmpc_init_nest_lock(), __kmpc_masked(), __kmpc_master(), __kmpc_next_section(), __kmpc_omp_task(), __kmpc_omp_task_begin_if0(), __kmpc_omp_task_begin_if0_template(), __kmpc_omp_task_complete_if0(), __kmpc_omp_task_parts(), __kmpc_omp_task_with_deps(), __kmpc_omp_taskwait(), __kmpc_omp_taskwait_deps_51(), __kmpc_omp_taskwait_template(), __kmpc_omp_taskyield(), __kmpc_ordered(), __kmpc_reduce(), __kmpc_reduce_nowait(), __kmpc_scope(), __kmpc_sections_init(), __kmpc_set_lock(), __kmpc_set_nest_lock(), __kmpc_single(), __kmpc_taskgroup(), __kmpc_test_lock(), __kmpc_test_nest_lock(), __kmpc_unset_lock(), __kmpc_unset_nest_lock(), KMP_API_NAME_GOMP_BARRIER(), KMP_API_NAME_GOMP_PARALLEL_END(), KMP_API_NAME_GOMP_PARALLEL_START(), KMP_API_NAME_GOMP_SINGLE_COPY_END(), KMP_API_NAME_GOMP_SINGLE_COPY_START(), KMP_API_NAME_GOMP_SINGLE_START(), ompt_fini(), ompt_get_callback(), ompt_get_parallel_info(), ompt_get_partition_place_nums(), ompt_get_place_num(), ompt_get_proc_id(), ompt_get_state(), ompt_get_task_info(), ompt_get_thread_data(), ompt_libomp_connect(), ompt_post_init(), and ompt_pre_init().

◆ ompt_start_tool_result

ompt_start_tool_result_t* ompt_start_tool_result = NULL
static

Definition at line 104 of file ompt-general.cpp.

Referenced by ompt_fini(), ompt_post_init(), ompt_pre_init(), and ompt_start_tool().

◆ ompt_state_info

ompt_state_info_t ompt_state_info[]
Initial value:
= {
#define ompt_state_macro(state, code)
}

Definition at line 90 of file ompt-general.cpp.

Referenced by ompt_enumerate_states().

◆ ompt_tool_module

void* ompt_tool_module = NULL
static

Definition at line 111 of file ompt-general.cpp.

Referenced by ompt_fini(), and ompt_try_start_tool().

◆ ret

◆ verbose_file

FILE* verbose_file
static

Definition at line 60 of file ompt-general.cpp.

Referenced by ompt_pre_init(), ompt_start_tool(), and setup_verbose_init().

◆ verbose_init

int verbose_init
static

Definition at line 61 of file ompt-general.cpp.

Referenced by ompt_pre_init(), ompt_start_tool(), and setup_verbose_init().