projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update test timings for writer
[userspace-rcu.git]
/
test_perthreadlock_timing.c
diff --git
a/test_perthreadlock_timing.c
b/test_perthreadlock_timing.c
index 5369796759bfa950108117c5d4a864ca6aa06721..479895ee1b32f978f02f8cb04774244da0784fec 100644
(file)
--- a/
test_perthreadlock_timing.c
+++ b/
test_perthreadlock_timing.c
@@
-127,8
+127,8
@@
void *thr_writer(void *arg)
}
time2 = get_cycles();
writer_time[(unsigned long)arg] += time2 - time1;
}
time2 = get_cycles();
writer_time[(unsigned long)arg] += time2 - time1;
+ usleep(1);
}
}
- usleep(1);
}
printf("thread_end %s, thread id : %lx, tid %lu\n",
}
printf("thread_end %s, thread id : %lx, tid %lu\n",
This page took
0.022858 seconds
and
4
git commands to generate.