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 00ca62c177877a9de8fb5f42cf7c5336a769be51..61fbe0299888817565c9af045acd8aebac7bd8f1 100644
(file)
--- a/
markers-test/test-mark-speed.c
+++ b/
markers-test/test-mark-speed.c
@@
-79,6
+79,9
@@
static int my_open(struct inode *inode, struct file *file)
unsigned long flags;
local_irq_save(flags);
+#ifdef CACHEFLUSH
+ wbinvd(); /* initial write back, without cycle count */
+#endif
rdtsc_barrier();
cycles1 = get_cycles();
rdtsc_barrier();
This page took
0.023365 seconds
and
4
git commands to generate.