projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add `urcu_posix_assert()` as `assert()` replacement
[urcu.git]
/
tests
/
benchmark
/
test_looplen.c
diff --git
a/tests/benchmark/test_looplen.c
b/tests/benchmark/test_looplen.c
index 76430a323e46a7b4dac5cc4162dad9c8e50fe7d7..d969ffcc00b2d58c0add83a53df2c31148d3aefd 100644
(file)
--- a/
tests/benchmark/test_looplen.c
+++ b/
tests/benchmark/test_looplen.c
@@
-28,11
+28,11
@@
#include <sys/wait.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/wait.h>
#include <unistd.h>
#include <stdio.h>
-#include <assert.h>
#include <sched.h>
#include <errno.h>
#include <urcu/arch.h>
#include <sched.h>
#include <errno.h>
#include <urcu/arch.h>
+#include <urcu/assert.h>
#ifndef DYNAMIC_LINK_TEST
#define _LGPL_SOURCE
#ifndef DYNAMIC_LINK_TEST
#define _LGPL_SOURCE
@@
-50,7
+50,7
@@
static inline void loop_sleep(unsigned long loops)
#define LOOPS 1048576
#define TESTS 10
#define LOOPS 1048576
#define TESTS 10
-int main(
int argc, char **argv
)
+int main(
void
)
{
unsigned long i;
caa_cycles_t time1, time2;
{
unsigned long i;
caa_cycles_t time1, time2;
This page took
0.023459 seconds
and
4
git commands to generate.