HPCToolkit
ga.c File Reference
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <sample-sources/simple_oo.h>
#include <sample-sources/sample_source_obj.h>
#include <sample-sources/common.h>
#include <sample-sources/ga.h>
#include <hpcrun/metrics.h>
#include <hpcrun/thread_data.h>
#include <messages/messages.h>
#include <utilities/tokenize.h>
#include "ss_obj.h"
Include dependency graph for ga.c:

Go to the source code of this file.

Macros

#define ss_name   ga
 
#define ss_cls   SS_SOFTWARE
 
#define ss_sort_order   110
 

Functions

static void METHOD_FN (init)
 
static void METHOD_FN (thread_init)
 
static void METHOD_FN (thread_init_action)
 
static void METHOD_FN (start)
 
static void METHOD_FN (thread_fini_action)
 
static void METHOD_FN (stop)
 
static void METHOD_FN (shutdown)
 
static bool METHOD_FN (supports_event, const char *ev_str)
 
static void METHOD_FN (process_event_list, int lush_metrics)
 
static void METHOD_FN (gen_event_set, int lush_metrics)
 
static void METHOD_FN (display_events)
 

Variables

static const long periodDefault = 293
 
uint64_t hpcrun_ga_period = 0
 
int hpcrun_ga_metricId_onesidedOp = -1
 
int hpcrun_ga_metricId_collectiveOp = -1
 
int hpcrun_ga_metricId_latency = -1
 
int hpcrun_ga_metricId_latencyExcess = -1
 
int hpcrun_ga_metricId_bytesXfr = -1
 

Macro Definition Documentation

◆ ss_cls

#define ss_cls   SS_SOFTWARE

Definition at line 247 of file ga.c.

◆ ss_name

#define ss_name   ga

Definition at line 246 of file ga.c.

◆ ss_sort_order

#define ss_sort_order   110

Definition at line 248 of file ga.c.

Function Documentation

◆ METHOD_FN() [1/11]

static void METHOD_FN ( init  )
static

Definition at line 98 of file ga.c.

◆ METHOD_FN() [2/11]

static void METHOD_FN ( thread_init  )
static

Definition at line 117 of file ga.c.

◆ METHOD_FN() [3/11]

static void METHOD_FN ( thread_init_action  )
static

Definition at line 124 of file ga.c.

◆ METHOD_FN() [4/11]

static void METHOD_FN ( start  )
static

Definition at line 131 of file ga.c.

◆ METHOD_FN() [5/11]

static void METHOD_FN ( thread_fini_action  )
static

Definition at line 139 of file ga.c.

◆ METHOD_FN() [6/11]

static void METHOD_FN ( stop  )
static

Definition at line 146 of file ga.c.

◆ METHOD_FN() [7/11]

static void METHOD_FN ( shutdown  )
static

Definition at line 154 of file ga.c.

◆ METHOD_FN() [8/11]

static bool METHOD_FN ( supports_event  ,
const char *  ev_str 
)
static

Definition at line 163 of file ga.c.

Here is the call graph for this function:

◆ METHOD_FN() [9/11]

static void METHOD_FN ( process_event_list  ,
int  lush_metrics 
)
static

Definition at line 173 of file ga.c.

Here is the call graph for this function:

◆ METHOD_FN() [10/11]

static void METHOD_FN ( gen_event_set  ,
int  lush_metrics 
)
static

Definition at line 219 of file ga.c.

◆ METHOD_FN() [11/11]

static void METHOD_FN ( display_events  )
static

Definition at line 226 of file ga.c.

Variable Documentation

◆ hpcrun_ga_metricId_bytesXfr

int hpcrun_ga_metricId_bytesXfr = -1

Definition at line 83 of file ga.c.

◆ hpcrun_ga_metricId_collectiveOp

int hpcrun_ga_metricId_collectiveOp = -1

Definition at line 80 of file ga.c.

◆ hpcrun_ga_metricId_latency

int hpcrun_ga_metricId_latency = -1

Definition at line 81 of file ga.c.

◆ hpcrun_ga_metricId_latencyExcess

int hpcrun_ga_metricId_latencyExcess = -1

Definition at line 82 of file ga.c.

◆ hpcrun_ga_metricId_onesidedOp

int hpcrun_ga_metricId_onesidedOp = -1

Definition at line 79 of file ga.c.

◆ hpcrun_ga_period

uint64_t hpcrun_ga_period = 0

Definition at line 77 of file ga.c.

◆ periodDefault

const long periodDefault = 293
static

Definition at line 75 of file ga.c.