projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update
[lttv.git]
/
markers-test
/
test-mark-speed-opt.c
diff --git
a/markers-test/test-mark-speed-opt.c
b/markers-test/test-mark-speed-opt.c
index 19a0b426c4654d549da7c08b2d564c824dac6f6b..39d247e0d1ff2456427fe480d6059599fc85e280 100644
(file)
--- a/
markers-test/test-mark-speed-opt.c
+++ b/
markers-test/test-mark-speed-opt.c
@@
-72,7
+72,16
@@
static int my_open(struct inode *inode, struct file *file)
rdtsc_barrier();
cycles1 = get_cycles();
rdtsc_barrier();
rdtsc_barrier();
cycles1 = get_cycles();
rdtsc_barrier();
- for(i=0; i<2000; i++) {
+ for(i=0; i<200; i++) {
+ test(i, i);
+ test(i, i);
+ test(i, i);
+ test(i, i);
+ test(i, i);
+ test(i, i);
+ test(i, i);
+ test(i, i);
+ test(i, i);
test(i, i);
}
rdtsc_barrier();
test(i, i);
}
rdtsc_barrier();
This page took
0.025351 seconds
and
4
git commands to generate.