ompt.h File Reference

#include <stdint.h>
#include "ompt-state.h"
#include "ompt-event.h"

Go to the source code of this file.

Data Structures

struct  ompt_frame_s

Defines

#define ompt_event(event, callback, eventid, is_impl)   event = eventid,
#define ompt_parallel_id_none   ((ompt_parallel_id_t) 0)
#define ompt_state(state, code)   state = code,
#define ompt_task_id_none   ((ompt_task_id_t) 0)
#define ompt_wait_id_none   ((ompt_wait_id_t) 0)

Typedefs

typedef void(* ompt_callback_t )(void)
typedef void(* ompt_control_callback_t )(uint64_t command, uint64_t modifier)
typedef struct ompt_frame_s ompt_frame_t
typedef enum opt_init_mode_e ompt_init_mode_t
typedef void(* ompt_new_parallel_callback_t )(ompt_task_id_t parent_task_id, ompt_frame_t *parent_task_frame, ompt_parallel_id_t parallel_id, void *parallel_function)
typedef void(* ompt_new_task_callback_t )(ompt_task_id_t parent_task_id, ompt_frame_t *parent_task_frame, ompt_task_id_t new_task_id, void *task_function)
typedef void(* ompt_new_workshare_callback_t )(ompt_task_id_t parent_task_id, ompt_parallel_id_t parallel_id, void *workshare_function)
typedef void(* ompt_parallel_callback_t )(ompt_parallel_id_t parallel_id, ompt_task_id_t task_id)
typedef uint64_t ompt_parallel_id_t
typedef enum ompt_set_callback_rc_e ompt_set_callback_rc_t
typedef void(* ompt_task_callback_t )(ompt_task_id_t task_id)
typedef uint64_t ompt_task_id_t
typedef void(* ompt_task_switch_callback_t )(ompt_task_id_t suspended_task_id, ompt_task_id_t resumed_task_id)
typedef void(* ompt_wait_callback_t )(ompt_wait_id_t wait_id)
typedef uint64_t ompt_wait_id_t

Enumerations

enum  ompt_event_t
enum  ompt_set_callback_rc_e {
  ompt_set_callback_error = 0, ompt_has_event_no_callback = 1, ompt_no_event_no_callback = 2, ompt_has_event_may_callback = 3,
  ompt_has_event_must_callback = 4
}
enum  ompt_state_t
enum  opt_init_mode_e { ompt_init_mode_never = 0, ompt_init_mode_false = 1, ompt_init_mode_true = 2, ompt_init_mode_always = 3 }

Functions

void ompt_control (uint64_t command, uint64_t modifier)
int ompt_enumerate_state (int current_state, int *next_state, const char **next_state_name)
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented
ompt_event_master_end_implemented
ompt_event_barrier_end_implemented
ompt_event_taskwait_end_implemented
ompt_event_taskgroup_end_implemented
ompt_event_wait_lock_implemented
ompt_event_wait_critical_implemented
ompt_event_wait_ordered_implemented
ompt_event_acquired_nest_lock_first_implemented
ompt_event_acquired_critical_implemented
ompt_event_acquired_ordered_implemented
ompt_event_init_nest_lock_implemented
ompt_event_destroy_nest_lock_implemented 
ompt_event (ompt_event_flush, ompt_callback_t, 57, ompt_event_flush_implemented)
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented
ompt_event_master_end_implemented
ompt_event_barrier_end_implemented
ompt_event_taskwait_end_implemented
ompt_event_taskgroup_end_implemented
ompt_event_wait_lock_implemented
ompt_event_wait_critical_implemented
ompt_event_wait_ordered_implemented
ompt_event_acquired_nest_lock_first_implemented
ompt_event_acquired_critical_implemented
ompt_event_acquired_ordered_implemented
ompt_event_init_nest_lock_implemented 
ompt_event (ompt_event_destroy_lock, ompt_wait_callback_t, 55, ompt_event_destroy_lock_implemented) ompt_event(ompt_event_destroy_nest_lock
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented
ompt_event_master_end_implemented
ompt_event_barrier_end_implemented
ompt_event_taskwait_end_implemented
ompt_event_taskgroup_end_implemented
ompt_event_wait_lock_implemented
ompt_event_wait_critical_implemented
ompt_event_wait_ordered_implemented
ompt_event_acquired_nest_lock_first_implemented
ompt_event_acquired_critical_implemented
ompt_event_acquired_ordered_implemented 
ompt_event (ompt_event_init_lock, ompt_wait_callback_t, 53, ompt_event_init_lock_implemented) ompt_event(ompt_event_init_nest_lock
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented
ompt_event_master_end_implemented
ompt_event_barrier_end_implemented
ompt_event_taskwait_end_implemented
ompt_event_taskgroup_end_implemented
ompt_event_wait_lock_implemented
ompt_event_wait_critical_implemented
ompt_event_wait_ordered_implemented
ompt_event_acquired_nest_lock_first_implemented
ompt_event_acquired_critical_implemented 
ompt_event (ompt_event_acquired_atomic, ompt_wait_callback_t, 51, ompt_event_acquired_atomic_implemented) ompt_event(ompt_event_acquired_ordered
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented
ompt_event_master_end_implemented
ompt_event_barrier_end_implemented
ompt_event_taskwait_end_implemented
ompt_event_taskgroup_end_implemented
ompt_event_wait_lock_implemented
ompt_event_wait_critical_implemented
ompt_event_wait_ordered_implemented
ompt_event_acquired_nest_lock_first_implemented 
ompt_event (ompt_event_acquired_nest_lock_next, ompt_parallel_callback_t, 49, ompt_event_acquired_nest_lock_next_implemented) ompt_event(ompt_event_acquired_critical
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented
ompt_event_master_end_implemented
ompt_event_barrier_end_implemented
ompt_event_taskwait_end_implemented
ompt_event_taskgroup_end_implemented
ompt_event_wait_lock_implemented
ompt_event_wait_critical_implemented
ompt_event_wait_ordered_implemented 
ompt_event (ompt_event_acquired_lock, ompt_wait_callback_t, 47, ompt_event_acquired_lock_implemented) ompt_event(ompt_event_acquired_nest_lock_first
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented
ompt_event_master_end_implemented
ompt_event_barrier_end_implemented
ompt_event_taskwait_end_implemented
ompt_event_taskgroup_end_implemented
ompt_event_wait_lock_implemented
ompt_event_wait_critical_implemented 
ompt_event (ompt_event_wait_atomic, ompt_wait_callback_t, 45, ompt_event_wait_atomic_implemented) ompt_event(ompt_event_wait_ordered
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented
ompt_event_master_end_implemented
ompt_event_barrier_end_implemented
ompt_event_taskwait_end_implemented
ompt_event_taskgroup_end_implemented
ompt_event_wait_lock_implemented 
ompt_event (ompt_event_wait_nest_lock, ompt_wait_callback_t, 43, ompt_event_wait_nest_lock_implemented) ompt_event(ompt_event_wait_critical
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented
ompt_event_master_end_implemented
ompt_event_barrier_end_implemented
ompt_event_taskwait_end_implemented
ompt_event_taskgroup_end_implemented 
ompt_event (ompt_event_release_nest_lock_prev, ompt_parallel_callback_t, 41, ompt_event_release_nest_lock_prev_implemented) ompt_event(ompt_event_wait_lock
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented
ompt_event_master_end_implemented
ompt_event_barrier_end_implemented
ompt_event_taskwait_end_implemented 
ompt_event (ompt_event_taskgroup_begin, ompt_parallel_callback_t, 39, ompt_event_taskgroup_begin_implemented) ompt_event(ompt_event_taskgroup_end
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented
ompt_event_master_end_implemented
ompt_event_barrier_end_implemented 
ompt_event (ompt_event_taskwait_begin, ompt_parallel_callback_t, 37, ompt_event_taskwait_begin_implemented) ompt_event(ompt_event_taskwait_end
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented
ompt_event_master_end_implemented 
ompt_event (ompt_event_barrier_begin, ompt_parallel_callback_t, 35, ompt_event_barrier_begin_implemented) ompt_event(ompt_event_barrier_end
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented
ompt_event_single_others_end_implemented 
ompt_event (ompt_event_master_begin, ompt_parallel_callback_t, 33, ompt_event_master_begin_implemented) ompt_event(ompt_event_master_end
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented
ompt_event_single_in_block_end_implemented 
ompt_event (ompt_event_single_others_begin, ompt_parallel_callback_t, 31, ompt_event_single_others_begin_implemented) ompt_event(ompt_event_single_others_end
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented
ompt_event_section_end_implemented 
ompt_event (ompt_event_single_in_block_begin, ompt_parallel_callback_t, 29, ompt_event_single_in_block_begin_implemented) ompt_event(ompt_event_single_in_block_end
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented
ompt_event_loop_end_implemented 
ompt_event (ompt_event_section_begin, ompt_parallel_callback_t, 27, ompt_event_section_begin_implemented) ompt_event(ompt_event_section_end
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented
ompt_event_task_switch_implemented 
ompt_event (ompt_event_loop_begin, ompt_parallel_callback_t, 25, ompt_event_loop_begin_implemented) ompt_event(ompt_event_loop_end
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented
ompt_event_implicit_task_create_implemented 
ompt_event (ompt_event_implicit_task_exit, ompt_parallel_callback_t, 23, ompt_event_implicit_task_exit_implemented) ompt_event(ompt_event_task_switch
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented
ompt_event_release_atomic_implemented 
ompt_event (ompt_event_release_ordered, ompt_wait_callback_t, 21, ompt_event_release_ordered_implemented) ompt_event(ompt_event_implicit_task_create
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented
ompt_event_release_nest_lock_implemented 
ompt_event (ompt_event_release_critical, ompt_wait_callback_t, 19, ompt_event_release_critical_implemented) ompt_event(ompt_event_release_atomic
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented
ompt_event_wait_taskgroup_end_implemented 
ompt_event (ompt_event_release_lock, ompt_wait_callback_t, 17, ompt_event_release_lock_implemented) ompt_event(ompt_event_release_nest_lock_last
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented
ompt_event_wait_taskwait_end_implemented 
ompt_event (ompt_event_wait_taskgroup_begin, ompt_parallel_callback_t, 15, ompt_event_wait_taskgroup_begin_implemented) ompt_event(ompt_event_wait_taskgroup_end
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented
ompt_event_wait_barrier_end_implemented 
ompt_event (ompt_event_wait_taskwait_begin, ompt_parallel_callback_t, 13, ompt_event_wait_taskwait_begin_implemented) ompt_event(ompt_event_wait_taskwait_end
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented
ompt_event_idle_end_implemented 
ompt_event (ompt_event_wait_barrier_begin, ompt_parallel_callback_t, 11, ompt_event_wait_barrier_begin_implemented) ompt_event(ompt_event_wait_barrier_end
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented
ompt_event_runtime_shutdown_implemented 
ompt_event (ompt_event_idle_begin, ompt_callback_t, 9, ompt_event_idle_begin_implemented) ompt_event(ompt_event_idle_end
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented
ompt_event_thread_exit_implemented 
ompt_event (ompt_event_control, ompt_control_callback_t, 7, ompt_event_control_implemented) ompt_event(ompt_event_runtime_shutdown
ompt_event_parallel_exit_implemented
ompt_event_task_exit_implemented 
ompt_event (ompt_event_thread_create, ompt_callback_t, 5, ompt_event_thread_create_implemented) ompt_event(ompt_event_thread_exit
ompt_event_parallel_exit_implemented ompt_event (ompt_event_task_create, ompt_new_task_callback_t, 3, ompt_event_task_create_implemented) ompt_event(ompt_event_task_exit
 ompt_event (ompt_event_parallel_create, ompt_new_parallel_callback_t, 1, ompt_event_parallel_create_implemented) ompt_event(ompt_event_parallel_exit
int ompt_get_callback (ompt_event_t event, ompt_callback_t *callback)
void * ompt_get_idle_frame (void)
int ompt_get_ompt_version (void)
ompt_parallel_id_t ompt_get_parallel_id (int ancestor_level)
int ompt_get_runtime_version (char *buffer, int length)
ompt_state_t ompt_get_state (ompt_wait_id_t *ompt_wait_id)
ompt_frame_tompt_get_task_frame (int ancestor_level)
ompt_task_id_t ompt_get_task_id (int ancestor_level)
int ompt_initialize (void)
int ompt_set_callback (ompt_event_t event, ompt_callback_t callback)
 ompt_state (ompt_state_wait_single, 0x65) ompt_state(ompt_state_undefined
 ompt_state (ompt_state_wait_atomic, 0x63) ompt_state(ompt_state_wait_ordered
 ompt_state (ompt_state_wait_nest_lock, 0x61) ompt_state(ompt_state_wait_critical
 ompt_state (ompt_state_wait_taskgroup, 0x51) ompt_state(ompt_state_wait_lock
 ompt_state (ompt_state_wait_barrier_explicit, 0x42) ompt_state(ompt_state_wait_taskwait
 ompt_state (ompt_state_wait_barrier, 0x40) ompt_state(ompt_state_wait_barrier_implicit
 ompt_state (ompt_state_idle, 0x10) ompt_state(ompt_state_overhead
 ompt_state (ompt_state_work_parallel, 0x01) ompt_state(ompt_state_work_reduction
 ompt_state (ompt_state_first, 0x71) ompt_state(ompt_state_work_serial

Variables

char ** ompd_dll_locations

Define Documentation

#define ompt_event ( event,
callback,
eventid,
is_impl   )     event = eventid,

Definition at line 59 of file ompt.h.

#define ompt_parallel_id_none   ((ompt_parallel_id_t) 0)

Definition at line 23 of file ompt.h.

Referenced by __ompt_get_parallel_id_internal().

#define ompt_state ( state,
code   )     state = code,

Definition at line 49 of file ompt.h.

#define ompt_task_id_none   ((ompt_task_id_t) 0)

Definition at line 20 of file ompt.h.

Referenced by __ompt_get_task_id_internal().

#define ompt_wait_id_none   ((ompt_wait_id_t) 0)

Definition at line 26 of file ompt.h.


Typedef Documentation

ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_callback_t

Definition at line 70 of file ompt.h.

typedef void(* ompt_control_callback_t)(uint64_t command,uint64_t modifier)

Definition at line 117 of file ompt.h.

typedef struct ompt_frame_s ompt_frame_t
typedef void(* ompt_new_parallel_callback_t)(ompt_task_id_t parent_task_id,ompt_frame_t *parent_task_frame,ompt_parallel_id_t parallel_id,void *parallel_function)

Definition at line 90 of file ompt.h.

typedef void(* ompt_new_task_callback_t)(ompt_task_id_t parent_task_id,ompt_frame_t *parent_task_frame,ompt_task_id_t new_task_id,void *task_function)

Definition at line 108 of file ompt.h.

typedef void(* ompt_new_workshare_callback_t)(ompt_task_id_t parent_task_id,ompt_parallel_id_t parallel_id,void *workshare_function)

Definition at line 84 of file ompt.h.

ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_taskwait_end_implemented ompt_parallel_callback_t

Definition at line 78 of file ompt.h.

typedef uint64_t ompt_parallel_id_t

Definition at line 22 of file ompt.h.

typedef void(* ompt_task_callback_t)(ompt_task_id_t task_id)

Definition at line 99 of file ompt.h.

typedef uint64_t ompt_task_id_t

Definition at line 19 of file ompt.h.

typedef void(* ompt_task_switch_callback_t)(ompt_task_id_t suspended_task_id,ompt_task_id_t resumed_task_id)

Definition at line 103 of file ompt.h.

ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_taskwait_end_implemented ompt_event_taskgroup_end_implemented ompt_event_wait_lock_implemented ompt_event_wait_critical_implemented ompt_event_wait_ordered_implemented ompt_event_acquired_nest_lock_first_implemented ompt_event_acquired_critical_implemented ompt_event_acquired_ordered_implemented ompt_event_init_nest_lock_implemented ompt_wait_callback_t

Definition at line 72 of file ompt.h.

typedef uint64_t ompt_wait_id_t

Definition at line 25 of file ompt.h.


Enumeration Type Documentation

Definition at line 58 of file ompt.h.

Enumerator:
ompt_set_callback_error 
ompt_has_event_no_callback 
ompt_no_event_no_callback 
ompt_has_event_may_callback 
ompt_has_event_must_callback 

Definition at line 179 of file ompt.h.

Definition at line 48 of file ompt.h.

Enumerator:
ompt_init_mode_never 
ompt_init_mode_false 
ompt_init_mode_true 
ompt_init_mode_always 

Definition at line 167 of file ompt.h.


Function Documentation

void ompt_control ( uint64_t  command,
uint64_t  modifier 
)

Definition at line 278 of file ompt-general.c.

References ompt_status, and ompt_status_track_callback.

int ompt_enumerate_state ( int  current_state,
int *  next_state,
const char **  next_state_name 
)

Definition at line 75 of file ompt-general.c.

References i, ompt_state_info_t::state_id, and ompt_state_info_t::state_name.

ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_taskwait_end_implemented ompt_event_taskgroup_end_implemented ompt_event_wait_lock_implemented ompt_event_wait_critical_implemented ompt_event_wait_ordered_implemented ompt_event_acquired_nest_lock_first_implemented ompt_event_acquired_critical_implemented ompt_event_acquired_ordered_implemented ompt_event_init_nest_lock_implemented ompt_event_destroy_nest_lock_implemented ompt_event_t::ompt_event ( ompt_event_flush  ,
ompt_callback_t  ,
57  ,
ompt_event_flush_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_taskwait_end_implemented ompt_event_taskgroup_end_implemented ompt_event_wait_lock_implemented ompt_event_wait_critical_implemented ompt_event_wait_ordered_implemented ompt_event_acquired_nest_lock_first_implemented ompt_event_acquired_critical_implemented ompt_event_acquired_ordered_implemented ompt_event_init_nest_lock_implemented ompt_event_t::ompt_event ( ompt_event_destroy_lock  ,
ompt_wait_callback_t  ,
55  ,
ompt_event_destroy_lock_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_taskwait_end_implemented ompt_event_taskgroup_end_implemented ompt_event_wait_lock_implemented ompt_event_wait_critical_implemented ompt_event_wait_ordered_implemented ompt_event_acquired_nest_lock_first_implemented ompt_event_acquired_critical_implemented ompt_event_acquired_ordered_implemented ompt_event_t::ompt_event ( ompt_event_init_lock  ,
ompt_wait_callback_t  ,
53  ,
ompt_event_init_lock_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_taskwait_end_implemented ompt_event_taskgroup_end_implemented ompt_event_wait_lock_implemented ompt_event_wait_critical_implemented ompt_event_wait_ordered_implemented ompt_event_acquired_nest_lock_first_implemented ompt_event_acquired_critical_implemented ompt_event_t::ompt_event ( ompt_event_acquired_atomic  ,
ompt_wait_callback_t  ,
51  ,
ompt_event_acquired_atomic_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_taskwait_end_implemented ompt_event_taskgroup_end_implemented ompt_event_wait_lock_implemented ompt_event_wait_critical_implemented ompt_event_wait_ordered_implemented ompt_event_acquired_nest_lock_first_implemented ompt_event_t::ompt_event ( ompt_event_acquired_nest_lock_next  ,
ompt_parallel_callback_t  ,
49  ,
ompt_event_acquired_nest_lock_next_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_taskwait_end_implemented ompt_event_taskgroup_end_implemented ompt_event_wait_lock_implemented ompt_event_wait_critical_implemented ompt_event_wait_ordered_implemented ompt_event_t::ompt_event ( ompt_event_acquired_lock  ,
ompt_wait_callback_t  ,
47  ,
ompt_event_acquired_lock_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_taskwait_end_implemented ompt_event_taskgroup_end_implemented ompt_event_wait_lock_implemented ompt_event_wait_critical_implemented ompt_event_t::ompt_event ( ompt_event_wait_atomic  ,
ompt_wait_callback_t  ,
45  ,
ompt_event_wait_atomic_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_taskwait_end_implemented ompt_event_taskgroup_end_implemented ompt_event_wait_lock_implemented ompt_event_t::ompt_event ( ompt_event_wait_nest_lock  ,
ompt_wait_callback_t  ,
43  ,
ompt_event_wait_nest_lock_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_taskwait_end_implemented ompt_event_taskgroup_end_implemented ompt_event_t::ompt_event ( ompt_event_release_nest_lock_prev  ,
ompt_parallel_callback_t  ,
41  ,
ompt_event_release_nest_lock_prev_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_taskwait_end_implemented ompt_event_t::ompt_event ( ompt_event_taskgroup_begin  ,
ompt_parallel_callback_t  ,
39  ,
ompt_event_taskgroup_begin_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_barrier_end_implemented ompt_event_t::ompt_event ( ompt_event_taskwait_begin  ,
ompt_parallel_callback_t  ,
37  ,
ompt_event_taskwait_begin_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_master_end_implemented ompt_event_t::ompt_event ( ompt_event_barrier_begin  ,
ompt_parallel_callback_t  ,
35  ,
ompt_event_barrier_begin_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_single_others_end_implemented ompt_event_t::ompt_event ( ompt_event_master_begin  ,
ompt_parallel_callback_t  ,
33  ,
ompt_event_master_begin_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_single_in_block_end_implemented ompt_event_t::ompt_event ( ompt_event_single_others_begin  ,
ompt_parallel_callback_t  ,
31  ,
ompt_event_single_others_begin_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_section_end_implemented ompt_event_t::ompt_event ( ompt_event_single_in_block_begin  ,
ompt_parallel_callback_t  ,
29  ,
ompt_event_single_in_block_begin_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_loop_end_implemented ompt_event_t::ompt_event ( ompt_event_section_begin  ,
ompt_parallel_callback_t  ,
27  ,
ompt_event_section_begin_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_task_switch_implemented ompt_event_t::ompt_event ( ompt_event_loop_begin  ,
ompt_parallel_callback_t  ,
25  ,
ompt_event_loop_begin_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_implicit_task_create_implemented ompt_event_t::ompt_event ( ompt_event_implicit_task_exit  ,
ompt_parallel_callback_t  ,
23  ,
ompt_event_implicit_task_exit_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_release_atomic_implemented ompt_event_t::ompt_event ( ompt_event_release_ordered  ,
ompt_wait_callback_t  ,
21  ,
ompt_event_release_ordered_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_release_nest_lock_implemented ompt_event_t::ompt_event ( ompt_event_release_critical  ,
ompt_wait_callback_t  ,
19  ,
ompt_event_release_critical_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_wait_taskgroup_end_implemented ompt_event_t::ompt_event ( ompt_event_release_lock  ,
ompt_wait_callback_t  ,
17  ,
ompt_event_release_lock_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_wait_taskwait_end_implemented ompt_event_t::ompt_event ( ompt_event_wait_taskgroup_begin  ,
ompt_parallel_callback_t  ,
15  ,
ompt_event_wait_taskgroup_begin_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_wait_barrier_end_implemented ompt_event_t::ompt_event ( ompt_event_wait_taskwait_begin  ,
ompt_parallel_callback_t  ,
13  ,
ompt_event_wait_taskwait_begin_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_idle_end_implemented ompt_event_t::ompt_event ( ompt_event_wait_barrier_begin  ,
ompt_parallel_callback_t  ,
11  ,
ompt_event_wait_barrier_begin_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_runtime_shutdown_implemented ompt_event_t::ompt_event ( ompt_event_idle_begin  ,
ompt_callback_t  ,
,
ompt_event_idle_begin_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_thread_exit_implemented ompt_event_t::ompt_event ( ompt_event_control  ,
ompt_control_callback_t  ,
,
ompt_event_control_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_task_exit_implemented ompt_event_t::ompt_event ( ompt_event_thread_create  ,
ompt_callback_t  ,
,
ompt_event_thread_create_implemented   
)
Type Constraints
ompt_event_parallel_exit_implemented ompt_event_t::ompt_event ( ompt_event_task_create  ,
ompt_new_task_callback_t  ,
,
ompt_event_task_create_implemented   
)
Type Constraints
ompt_event_t::ompt_event ( ompt_event_parallel_create  ,
ompt_new_parallel_callback_t  ,
,
ompt_event_parallel_create_implemented   
)
int ompt_get_callback ( ompt_event_t  event,
ompt_callback_t callback 
)

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

References get_failure.

void* ompt_get_idle_frame ( void   ) 

Definition at line 228 of file ompt-general.c.

References __ompt_get_idle_frame_internal().

int ompt_get_ompt_version ( void   ) 

Definition at line 262 of file ompt-general.c.

References OMPT_VERSION.

ompt_parallel_id_t ompt_get_parallel_id ( int  ancestor_level  ) 

Definition at line 198 of file ompt-general.c.

References __ompt_get_parallel_id_internal().

int ompt_get_runtime_version ( char *  buffer,
int  length 
)

Definition at line 291 of file ompt-general.c.

References __ompt_get_runtime_version_internal().

ompt_state_t ompt_get_state ( ompt_wait_id_t ompt_wait_id  ) 

Definition at line 210 of file ompt-general.c.

References __ompt_get_state_internal().

ompt_frame_t* ompt_get_task_frame ( int  ancestor_level  ) 

Definition at line 245 of file ompt-general.c.

References __ompt_get_task_frame_internal().

ompt_task_id_t ompt_get_task_id ( int  ancestor_level  ) 

Definition at line 239 of file ompt-general.c.

References __ompt_get_task_id_internal().

int ompt_initialize ( void   ) 

Referenced by ompt_init().

int ompt_set_callback ( ompt_event_t  event,
ompt_callback_t  callback 
)

Definition at line 98 of file ompt-general.c.

References set_failure.

ompt_state_t::ompt_state ( ompt_state_wait_single  ,
0x65   
)
ompt_state_t::ompt_state ( ompt_state_wait_atomic  ,
0x63   
)
ompt_state_t::ompt_state ( ompt_state_wait_nest_lock  ,
0x61   
)
ompt_state_t::ompt_state ( ompt_state_wait_taskgroup  ,
0x51   
)
ompt_state_t::ompt_state ( ompt_state_wait_barrier_explicit  ,
0x42   
)
ompt_state_t::ompt_state ( ompt_state_wait_barrier  ,
0x40   
)
ompt_state_t::ompt_state ( ompt_state_idle  ,
0x10   
)
ompt_state_t::ompt_state ( ompt_state_work_parallel  ,
0x01   
)
ompt_state_t::ompt_state ( ompt_state_first  ,
0x71   
)

Variable Documentation

Definition at line 65 of file ompt-general.c.

Referenced by ompt_init().


Generated on 25 Aug 2013 for libomp_oss by  doxygen 1.6.1