HPCToolkit
io.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/io.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 io.c:

Go to the source code of this file.

Macros

#define ss_name   io
 
#define ss_cls   SS_SOFTWARE
 
#define ss_sort_order   40
 

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)
 
int hpcrun_metric_id_read (void)
 
int hpcrun_metric_id_write (void)
 

Variables

static int metric_id_read = -1
 
static int metric_id_write = -1
 

Macro Definition Documentation

◆ ss_cls

#define ss_cls   SS_SOFTWARE

Definition at line 191 of file io.c.

◆ ss_name

#define ss_name   io

Definition at line 190 of file io.c.

◆ ss_sort_order

#define ss_sort_order   40

Definition at line 192 of file io.c.

Function Documentation

◆ hpcrun_metric_id_read()

int hpcrun_metric_id_read ( void  )

Definition at line 202 of file io.c.

Here is the caller graph for this function:

◆ hpcrun_metric_id_write()

int hpcrun_metric_id_write ( void  )

Definition at line 208 of file io.c.

Here is the caller graph for this function:

◆ METHOD_FN() [1/11]

static void METHOD_FN ( init  )
static

Definition at line 84 of file io.c.

◆ METHOD_FN() [2/11]

static void METHOD_FN ( thread_init  )
static

Definition at line 94 of file io.c.

◆ METHOD_FN() [3/11]

static void METHOD_FN ( thread_init_action  )
static

Definition at line 101 of file io.c.

◆ METHOD_FN() [4/11]

static void METHOD_FN ( start  )
static

Definition at line 108 of file io.c.

◆ METHOD_FN() [5/11]

static void METHOD_FN ( thread_fini_action  )
static

Definition at line 116 of file io.c.

◆ METHOD_FN() [6/11]

static void METHOD_FN ( stop  )
static

Definition at line 123 of file io.c.

◆ METHOD_FN() [7/11]

static void METHOD_FN ( shutdown  )
static

Definition at line 131 of file io.c.

◆ METHOD_FN() [8/11]

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

Definition at line 140 of file io.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 152 of file io.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 164 of file io.c.

◆ METHOD_FN() [11/11]

static void METHOD_FN ( display_events  )
static

Definition at line 171 of file io.c.

Variable Documentation

◆ metric_id_read

int metric_id_read = -1
static

Definition at line 75 of file io.c.

◆ metric_id_write

int metric_id_write = -1
static

Definition at line 76 of file io.c.