#include #include #include "osiTime.h" #include "osiThread.h" #include "errlog.h" extern "C" { int osiTimeTest (void); } int osiTimeTest (void) { unsigned i; osiTime begin = osiTime::getCurrent(); const unsigned wasteTime = 100000u; const int nTimes = 100; TS_STAMP stamp; struct timespec ts; struct tm tmAnsi; tm_nano_sec ansiDate; unsigned long nanoSec; double diff; for(int iTimes=0; iTimes < nTimes; ++iTimes) { for (i=0; i=end)) printf("copy>=end %d\n",iTimes); if(!(end>begin)) printf("end>begin %d\n",iTimes); if(!(end>=begin)) printf("end>=begin %d\n",iTimes); if(!(begin