projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 0.11.3
[userspace-rcu.git]
/
tests
/
benchmark
/
test_rwlock_timing.c
diff --git
a/tests/benchmark/test_rwlock_timing.c
b/tests/benchmark/test_rwlock_timing.c
index bc51c45c3573a6b9611673048a2cefacaacce629..0cc5253b7085c3426704ad9d5a2656d46bc51c9c 100644
(file)
--- a/
tests/benchmark/test_rwlock_timing.c
+++ b/
tests/benchmark/test_rwlock_timing.c
@@
-69,7
+69,8
@@
static caa_cycles_t __attribute__((aligned(CAA_CACHE_LINE_SIZE))) *writer_time;
void *thr_reader(void *arg)
{
void *thr_reader(void *arg)
{
- int i, j, ret;
+ unsigned int i, j;
+ int ret;
caa_cycles_t time1, time2;
printf("thread_begin %s, tid %lu\n",
caa_cycles_t time1, time2;
printf("thread_begin %s, tid %lu\n",
@@
-107,7
+108,8
@@
void *thr_reader(void *arg)
void *thr_writer(void *arg)
{
void *thr_writer(void *arg)
{
- int i, j, ret;
+ unsigned int i, j;
+ int ret;
caa_cycles_t time1, time2;
printf("thread_begin %s, tid %lu\n",
caa_cycles_t time1, time2;
printf("thread_begin %s, tid %lu\n",
This page took
0.024286 seconds
and
4
git commands to generate.