projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: shadowed local variable (-Wshadow)
[urcu.git]
/
tests
/
benchmark
/
test_looplen.c
diff --git
a/tests/benchmark/test_looplen.c
b/tests/benchmark/test_looplen.c
index c8b5a0256abebc7f14b546040ba2d7259eda6a4f..76430a323e46a7b4dac5cc4162dad9c8e50fe7d7 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>
@@
-68,7
+67,7
@@
int main(int argc, char **argv)
printf("CALIBRATION : %g cycles per loop\n", cpl);
printf("time_tot = %llu, LOOPS = %d, TESTS = %d\n",
printf("CALIBRATION : %g cycles per loop\n", cpl);
printf("time_tot = %llu, LOOPS = %d, TESTS = %d\n",
- time_tot, LOOPS, TESTS);
+
(unsigned long long)
time_tot, LOOPS, TESTS);
return 0;
}
return 0;
}
This page took
0.024396 seconds
and
4
git commands to generate.