Fix SetRdmaOpInfo calls to take const void * as parameter
[charm.git] / src / conv-perf / traceCoreAPI.h
blob739eeddea815d0f86e1c6f6ed87ac70d40828791
2 #ifndef __TRACE_CORE_API_H__
3 #define __TRACE_CORE_API_H__
5 CpvCExtern(int,_traceCoreOn);
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 /* Tracing API */
10 #if CMK_TRACE_IN_CHARM || ! CMK_TRACE_ENABLED
11 #define LOGCONDITIONAL(x)
12 #else
13 #define LOGCONDITIONAL(x) do { if(CpvAccess(_traceCoreOn)!=0){ \
14 x;\
15 } } while(0);
16 #endif
18 void RegisterLanguage(int lID, const char* ln);
19 void RegisterEvent(int lID, int eID);
20 /* TODO some cleanup required below */
21 void LogEvent(int lID, int eID);
22 void LogEvent1(int lID, int eID, int iLen, const int* iData);
23 void LogEvent2(int lID, int eID, int sLen, const char* sData);
24 void LogEvent3(int lID, int eID, int iLen, const int* iData, int sLen, const char* sData);
25 void LogEvent4(int lID, int eID, int iLen, const int* iData, double t);
26 #ifdef __cplusplus
28 #endif
30 #endif