perform FILETIME conversions only on windows because

monolithic win32 header files are incompatible with other
things in EPICS and we cant include windows.h in osdTime.h
This commit is contained in:
Jeff Hill
2002-09-07 00:11:06 +00:00
parent 593ee10818
commit 25acc515c4
18 changed files with 64 additions and 258 deletions

View File

@@ -61,16 +61,6 @@ int epicsTimeTest (void)
printf ("epicsTime Test (%3d loops)\n========================\n\n", nTimes);
// test FILETIME conversion
{
epicsTime ts0 = epicsTime::getCurrent ();
FILETIME ft = ts0;
epicsTime ts1 = ft;
double diff = fabs ( ts0 - ts1 );
// we expect to loose 100 nS of precision when moving to and from win32 filetime
assert ( diff <= 100e-9 );
}
for (int iTimes=0; iTimes < nTimes; ++iTimes) {
for (i=0; i<wasteTime; i++) {
useSomeCPU = epicsTime::getCurrent();