summaryrefslogtreecommitdiff
path: root/tests/spin4.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spin4.c')
-rw-r--r--tests/spin4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/spin4.c b/tests/spin4.c
index 8386d09..93e8d90 100644
--- a/tests/spin4.c
+++ b/tests/spin4.c
@@ -51,11 +51,11 @@ static int washere = 0;
void * func(void * arg)
{
- _ftime(&currSysTimeStart);
+ PTW32_FTIME(&currSysTimeStart);
washere = 1;
assert(pthread_spin_lock(&lock) == 0);
assert(pthread_spin_unlock(&lock) == 0);
- _ftime(&currSysTimeStop);
+ PTW32_FTIME(&currSysTimeStop);
return (void *) GetDurationMilliSecs(currSysTimeStart, currSysTimeStop);
}
@@ -86,7 +86,7 @@ main()
do
{
sched_yield();
- _ftime(&sysTime);
+ PTW32_FTIME(&sysTime);
}
while (GetDurationMilliSecs(currSysTimeStart, sysTime) <= 1000);