summaryrefslogtreecommitdiff
path: root/tests/stress1.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-03-03 23:37:20 +0000
committerrpj <rpj>2011-03-03 23:37:20 +0000
commite470da85f7b9426eea03d66086c2822bf29e9b05 (patch)
treeb3747768258dc62752612327904be1f1067d5c7f /tests/stress1.c
parent1170175259781ece4a8d99d517230f4b9ecb7b50 (diff)
Some cleanups, mostly x86_64 compat plus interlocked macros
Diffstat (limited to 'tests/stress1.c')
-rw-r--r--tests/stress1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stress1.c b/tests/stress1.c
index 3588361..fb50124 100644
--- a/tests/stress1.c
+++ b/tests/stress1.c
@@ -117,7 +117,7 @@ millisecondsFromNow (struct timespec * time, int millisecs)
const int64_t NANOSEC_PER_SEC = 1000000000;
/* get current system time and add millisecs */
- _ftime(&currSysTime);
+ PTW32_FTIME(&currSysTime);
secs = (int64_t)(currSysTime.time) + (millisecs / 1000);
nanosecs = ((int64_t) (millisecs%1000 + currSysTime.millitm)) * NANOSEC_PER_MILLISEC;