相关代码 |
|
#ifndef MPID_Wtime /* Special features of timer for NX */ #ifndef ANSI_ARGS #if defined(__STDC__) || defined(__cplusplus) #define ANSI_ARGS(a) a #else #define ANSI_ARGS(a) () #endif #endif extern double v_time ANSI_ARGS((void)); extern void v_tick ANSI_ARGS((double *)); #define MPID_Wtime(t) *(t)= v_time() #define MPID_Wtick(t) v_tick( t ) #define MPID_Wtime_is_global MPID_Time_is_global #endif