HPCToolkit
sample_source.c File Reference

Go to the source code of this file.

Classes

struct  sample_source_globals_t
 

Enumerations

enum  sampling_method { SAMPLING_INIT =0, SAMPLING_START =1, SAMPLING_STOP =2, SAMPLING_NMETHODS =3 }
 

Functions

static void call_sampling_methods (sampling_method method, thread_data_t *td)
 
static void call_sampling_method (sampling_source_globals_t *g, sampling_method method, thread_data_t *td)
 
void hpcrun_add_sample_source (sample_source_globals_t *_ssgtd)
 
void hpcrun_start_sampling (thread_data_t *td)
 
void hpcrun_stop_sampling (thread_data_t *td)
 
void hpcrun_init_sampling (void)
 

Variables

typedef(* sampling_method_fn )(thread_data_t *td)
 
static sample_source_globals_tssg = NULL
 

Enumeration Type Documentation

◆ sampling_method

Enumerator
SAMPLING_INIT 
SAMPLING_START 
SAMPLING_STOP 
SAMPLING_NMETHODS 

Definition at line 64 of file sample_source.c.

Function Documentation

◆ call_sampling_method()

static void call_sampling_method ( sampling_source_globals_t *  g,
sampling_method  method,
thread_data_t td 
)
static

Definition at line 145 of file sample_source.c.

Here is the caller graph for this function:

◆ call_sampling_methods()

static void call_sampling_methods ( sampling_method  method,
thread_data_t td 
)
static

Definition at line 135 of file sample_source.c.

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

◆ hpcrun_add_sample_source()

void hpcrun_add_sample_source ( sample_source_globals_t _ssgtd)

Definition at line 101 of file sample_source.c.

◆ hpcrun_init_sampling()

void hpcrun_init_sampling ( void  )

Definition at line 124 of file sample_source.c.

Here is the call graph for this function:

◆ hpcrun_start_sampling()

void hpcrun_start_sampling ( thread_data_t td)

Definition at line 110 of file sample_source.c.

Here is the call graph for this function:

◆ hpcrun_stop_sampling()

void hpcrun_stop_sampling ( thread_data_t td)

Definition at line 117 of file sample_source.c.

Here is the call graph for this function:

Variable Documentation

◆ sampling_method_fn

typedef(* sampling_method_fn) (thread_data_t *td)

Definition at line 71 of file sample_source.c.

◆ ssg

Definition at line 82 of file sample_source.c.