profiler  0.0
ProfilerC.h
1 #ifndef MOLPRO_PROFILERC_H
2 #define MOLPRO_PROFILERC_H
3 
4 #include <cstdint>
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
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);
11 #endif
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);
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif // MOLPRO_PROFILERC_H