LLVM OpenMP 20.0.0git
Macros | Functions
repeated_calls.c File Reference
#include "callback.h"

Go to the source code of this file.

Macros

#define USE_PRIVATE_TOOL   1
 

Functions

 __attribute__ ((noinline))
 
int main ()
 
static void on_ompt_callback_thread_begin (ompt_thread_t thread_type, ompt_data_t *thread_data)
 
static void on_ompt_callback_parallel_begin (ompt_data_t *encountering_task_data, const ompt_frame_t *encountering_task_frame, ompt_data_t *parallel_data, uint32_t requested_team_size, int flag, const void *codeptr_ra)
 
int ompt_initialize (ompt_function_lookup_t lookup, int initial_device_num, ompt_data_t *tool_data)
 
void ompt_finalize (ompt_data_t *tool_data)
 
ompt_start_tool_result_tompt_start_tool (unsigned int omp_version, const char *runtime_version)
 

Macro Definition Documentation

◆ USE_PRIVATE_TOOL

#define USE_PRIVATE_TOOL   1

Definition at line 4 of file repeated_calls.c.

Function Documentation

◆ __attribute__()

__attribute__ ( (noinline)  )

Definition at line 7 of file repeated_calls.c.

◆ main()

int main ( void  )

Definition at line 27 of file repeated_calls.c.

References bar(), and foo().

◆ ompt_finalize()

void ompt_finalize ( ompt_data_t *  tool_data)

Definition at line 95 of file repeated_calls.c.

Referenced by ompt_start_tool().

◆ ompt_initialize()

int ompt_initialize ( ompt_function_lookup_t  lookup,
int  initial_device_num,
ompt_data_t *  tool_data 
)

◆ ompt_start_tool()

ompt_start_tool_result_t * ompt_start_tool ( unsigned int  omp_version,
const char runtime_version 
)

Definition at line 97 of file repeated_calls.c.

References ompt_finalize(), ompt_initialize(), and ompt_start_tool_result.

◆ on_ompt_callback_parallel_begin()

static void on_ompt_callback_parallel_begin ( ompt_data_t *  encountering_task_data,
const ompt_frame_t *  encountering_task_frame,
ompt_data_t *  parallel_data,
uint32_t  requested_team_size,
int  flag,
const void codeptr_ra 
)
static

Definition at line 62 of file repeated_calls.c.

References _TOOL_PREFIX, event, flag, ompt_get_thread_data, ompt_get_unique_id, size, and value.

◆ on_ompt_callback_thread_begin()

static void on_ompt_callback_thread_begin ( ompt_thread_t  thread_type,
ompt_data_t *  thread_data 
)
static