HPCToolkit
name.c File Reference
#include <strings.h>
#include <string.h>
#include <stddef.h>
#include "name.h"
Include dependency graph for name.c:

Go to the source code of this file.

Macros

#define NULL   0
 

Functions

void hpcrun_set_executable_name (char *argv0)
 
const char * hpcrun_get_executable_name ()
 
void hpcrun_set_mpirank (int rank)
 
int hpcrun_get_mpirank ()
 

Variables

static char * executable_name = NULL
 
static int mpirank = UNKNOWN_MPI_RANK
 

Macro Definition Documentation

◆ NULL

#define NULL   0

Definition at line 72 of file name.c.

Function Documentation

◆ hpcrun_get_executable_name()

const char* hpcrun_get_executable_name ( )

Definition at line 103 of file name.c.

◆ hpcrun_get_mpirank()

int hpcrun_get_mpirank ( )

Definition at line 114 of file name.c.

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

◆ hpcrun_set_executable_name()

void hpcrun_set_executable_name ( char *  argv0)

Definition at line 97 of file name.c.

Here is the call graph for this function:

◆ hpcrun_set_mpirank()

void hpcrun_set_mpirank ( int  rank)

Definition at line 109 of file name.c.

Here is the caller graph for this function:

Variable Documentation

◆ executable_name

char* executable_name = NULL
static

Definition at line 80 of file name.c.

◆ mpirank

int mpirank = UNKNOWN_MPI_RANK
static

Definition at line 81 of file name.c.