projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port: fix compatibility header for Cygwin
[urcu.git]
/
tests
/
benchmark
/
test_looplen.c
diff --git
a/tests/benchmark/test_looplen.c
b/tests/benchmark/test_looplen.c
index 16674e76ac442343b77ea27d1994a5920cd6c9e7..453d433bc7ea6e19ec0361d62b958f82273652e6 100644
(file)
--- a/
tests/benchmark/test_looplen.c
+++ b/
tests/benchmark/test_looplen.c
@@
-54,8
+54,8
@@
static inline void loop_sleep(unsigned long loops)
int main(int argc, char **argv)
{
unsigned long i;
int main(int argc, char **argv)
{
unsigned long i;
- cycles_t time1, time2;
- cycles_t time_tot = 0;
+ c
aa_c
ycles_t time1, time2;
+ c
aa_c
ycles_t time_tot = 0;
double cpl;
for (i = 0; i < TESTS; i++) {
double cpl;
for (i = 0; i < TESTS; i++) {
@@
-68,7
+68,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.023202 seconds
and
4
git commands to generate.