Eneboo - Documentación para desarrolladores
|
'defines' | |
#define | ITERATIONS 1000000L |
#define | GetDurationMilliSecs(_TStart, _TStop) |
#define | TESTSTART { int i, j = 0, k = 0; _ftime(&currSysTimeStart); for (i = 0; i < ITERATIONS; i++) { j++; |
#define | TESTSTOP }; _ftime(&currSysTimeStop); if (j + k == i) j++; } |
Funciones | |
void | reportTest (char *testNameString) |
int | main (int argc, char *argv[]) |
Variables | |
sem_t | sema |
HANDLE | w32sema |
struct _timeb | currSysTimeStart |
struct _timeb | currSysTimeStop |
long | durationMilliSecs |
long | overHeadMilliSecs = 0 |
int | one = 1 |
int | zero = 0 |
#define GetDurationMilliSecs | ( | _TStart, | |
_TStop | |||
) |
((_TStop.time*1000+_TStop.millitm) \ - (_TStart.time*1000+_TStart.millitm))
#define ITERATIONS 1000000L |
#define TESTSTART { int i, j = 0, k = 0; _ftime(&currSysTimeStart); for (i = 0; i < ITERATIONS; i++) { j++; |
#define TESTSTOP }; _ftime(&currSysTimeStop); if (j + k == i) j++; } |
void reportTest | ( | char * | testNameString | ) |
struct _timeb currSysTimeStart |
struct _timeb currSysTimeStop |
long durationMilliSecs |
long overHeadMilliSecs = 0 |
HANDLE w32sema |