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.c
diff --git
a/markers-test/test-mark-speed.c
b/markers-test/test-mark-speed.c
index b3294e58a781de8cf85e9bf49598856dc72cf400..4aa4d7427b2ac23d4e398c7c9c24d0e7c2624768 100644
(file)
--- a/
markers-test/test-mark-speed.c
+++ b/
markers-test/test-mark-speed.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.027751 seconds
and
4
git commands to generate.