update
[lttv.git] / markers-test / test-mark-speed.c
index f41acb575b3cd1c395345e54e5e167c2f503d92a..dcea38e0f5fd1b9f8dc396db79d4ae33f37da659 100644 (file)
@@ -52,8 +52,9 @@ static void noinline test2(const struct marker *mdata,
        //asm volatile ("");
 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)
 {
@@ -94,7 +95,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.024556 seconds and 4 git commands to generate.