projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: all functions have declarations (-Wmissing-prototypes)
[urcu.git]
/
tests
/
benchmark
/
test_urcu_wfq.c
diff --git
a/tests/benchmark/test_urcu_wfq.c
b/tests/benchmark/test_urcu_wfq.c
index 76821047104a9660edd6cc439ee723f937fe3c21..07a684825f982bad6e0b5d77993eaf195f33d3ec 100644
(file)
--- a/
tests/benchmark/test_urcu_wfq.c
+++ b/
tests/benchmark/test_urcu_wfq.c
@@
-138,6
+138,7
@@
static unsigned int nr_dequeuers;
static struct cds_wfq_queue q;
static struct cds_wfq_queue q;
+static
void *thr_enqueuer(void *_count)
{
unsigned long long *count = _count;
void *thr_enqueuer(void *_count)
{
unsigned long long *count = _count;
@@
-179,6
+180,7
@@
fail:
}
}
+static
void *thr_dequeuer(void *_count)
{
unsigned long long *count = _count;
void *thr_dequeuer(void *_count)
{
unsigned long long *count = _count;
@@
-218,6
+220,7
@@
void *thr_dequeuer(void *_count)
return ((void*)2);
}
return ((void*)2);
}
+static
void test_end(struct cds_wfq_queue *q, unsigned long long *nr_dequeues)
{
struct cds_wfq_node *node;
void test_end(struct cds_wfq_queue *q, unsigned long long *nr_dequeues)
{
struct cds_wfq_node *node;
@@
-231,6
+234,7
@@
void test_end(struct cds_wfq_queue *q, unsigned long long *nr_dequeues)
} while (node);
}
} while (node);
}
+static
void show_usage(int argc, char **argv)
{
printf("Usage : %s nr_dequeuers nr_enqueuers duration (s) <OPTIONS>\n",
void show_usage(int argc, char **argv)
{
printf("Usage : %s nr_dequeuers nr_enqueuers duration (s) <OPTIONS>\n",
This page took
0.024289 seconds
and
4
git commands to generate.