Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
32
Src/Plugins/Visualization/vis_avs/Timing.h
Normal file
32
Src/Plugins/Visualization/vis_avs/Timing.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
|
||||
#ifndef _TIMING_H_
|
||||
#define _TIMING_H_
|
||||
|
||||
|
||||
//#define TIMING
|
||||
|
||||
|
||||
|
||||
#if defined(TIMING) && !defined(__alpha)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void _timingInit(void);
|
||||
void _timingPrint(void);
|
||||
void _timingEnter(int);
|
||||
void _timingLeave(int);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#define timingPrint() _timingPrint()
|
||||
#define timingInit() _timingInit()
|
||||
#define timingLeave(x) _timingLeave(x)
|
||||
#define timingEnter(x) _timingEnter(x)
|
||||
#else
|
||||
#define timingPrint()
|
||||
#define timingInit()
|
||||
#define timingLeave(x)
|
||||
#define timingEnter(x)
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue