projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename `urcu_assert()` to `urcu_assert_debug()`
[urcu.git]
/
tests
/
benchmark
/
test_looplen.c
diff --git
a/tests/benchmark/test_looplen.c
b/tests/benchmark/test_looplen.c
index 453d433bc7ea6e19ec0361d62b958f82273652e6..51c1744b4f979d64a436256cdb456530aa250e98 100644
(file)
--- a/
tests/benchmark/test_looplen.c
+++ b/
tests/benchmark/test_looplen.c
@@
-20,7
+20,6
@@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
@@
-51,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.024289 seconds
and
4
git commands to generate.