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 79ff716c34f153ae66b9e1fe0cd5bc9fa6b35ad7..c68a45380a4a0e1c4f1106bb9b122f688d769ac8 100644
(file)
--- a/
tests/benchmark/test_urcu_wfq.c
+++ b/
tests/benchmark/test_urcu_wfq.c
@@
-133,6
+133,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;
@@
-174,6
+175,7
@@
fail:
}
}
+static
void *thr_dequeuer(void *_count)
{
unsigned long long *count = _count;
void *thr_dequeuer(void *_count)
{
unsigned long long *count = _count;
@@
-213,6
+215,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;
@@
-226,6
+229,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.026013 seconds
and
4
git commands to generate.