update
[lttv.git] / markers-test / test-mark-speed-opt.c
index 0850b04c428dff13689c90cb35c4819a3552740b..f30d0247d219d7f30878e0210c147f386c244399 100644 (file)
@@ -78,6 +78,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.023971 seconds and 4 git commands to generate.