1 #ifndef MOLPRO_PROFILERC_H
2 #define MOLPRO_PROFILERC_H
8 #ifdef MOLPRO_PROFILER_MPI
9 void* profilerNewMPIA(
char* name, int64_t comm,
int cpu);
10 void* profilerNewMPIB(
char* name,
int sort,
int level, int64_t comm,
int cpu);
12 void* profilerNewSerialB(
char* name,
int sort,
int level,
int cpu);
13 void* profilerNewSerialA(
char* name,
int cpu);
14 void profilerDestroy(
void* profiler);
15 void profilerReset(
void* profiler,
char* name);
16 void profilerActive(
void* profiler,
int level,
int stopPrint);
17 void profilerStart(
void* profiler,
char* name);
18 void profilerDeclare(
void* profiler,
char* name);
19 void profilerStop(
void* profiler,
char* name,
long operations = 0);
20 char* profilerStr(
void* profiler,
int verbosity,
int cumulative,
int precision);
21 void profilerStrSubroutine(
void* profiler,
char* result,
int maxResult,
int verbosity,
int cumulative,
int precision);
22 void profilerDotgraph(
void* profiler,
const char* path,
double threshold,
int cumulative);