update
[lttv.git] / markers-test / test-mark-speed-opt.c
index 4c6ee36a8fefff24bf536a895293df0c85674773..884d5554af497bce4d3d1427a6f8a7bf9e55b2dd 100644 (file)
@@ -51,8 +51,9 @@ static void noinline test2(const struct marker *mdata,
 
 struct proc_dir_entry *pentry = NULL;
 
+char temp0[8192];
 int temp __cacheline_aligned = 10;
-int temp2 __cacheline_aligned = 10;
+char temp2[8192];
 
 static inline void test(unsigned long arg, unsigned long arg2)
 {
@@ -93,7 +94,7 @@ static int my_open(struct inode *inode, struct file *file)
        cycles2 = get_cycles();
        rdtsc_barrier();
        local_irq_restore(flags);
-       printk("cycles : %llu\n", (cycles2-cycles1)/20000);
+       printk("cycles : %llu\n", cycles2-cycles1);
        return -EPERM;
 }
 
This page took 0.024625 seconds and 4 git commands to generate.