X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fbenchmark%2Ftest_perthreadlock_timing.c;h=88c3edc0350f1fb2fab045092e110c07a9ddc796;hb=3b4d308436f00a8253549f16980fd6889dfe08b1;hp=c1cd567242737cef2afddebac28bbb5dfd839369;hpb=83e334d03eaba62df373cf44298616458900078a;p=userspace-rcu.git diff --git a/tests/benchmark/test_perthreadlock_timing.c b/tests/benchmark/test_perthreadlock_timing.c index c1cd567..88c3edc 100644 --- a/tests/benchmark/test_perthreadlock_timing.c +++ b/tests/benchmark/test_perthreadlock_timing.c @@ -67,6 +67,7 @@ static int num_write; static caa_cycles_t __attribute__((aligned(CAA_CACHE_LINE_SIZE))) *reader_time; static caa_cycles_t __attribute__((aligned(CAA_CACHE_LINE_SIZE))) *writer_time; +static void *thr_reader(void *arg) { unsigned int i, j; @@ -96,6 +97,7 @@ void *thr_reader(void *arg) } +static void *thr_writer(void *arg) { unsigned int i, j;