update
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 8 Apr 2008 04:17:34 +0000 (04:17 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 8 Apr 2008 04:17:34 +0000 (04:17 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2868 04897980-b3bd-0310-b5e0-8ef037075253

markers-test/test-mark-speed-edit.c
markers-test/test-mark-speed-empty.c
markers-test/test-mark-speed-local.c
markers-test/test-mark-speed-opt.c
markers-test/test-mark-speed.c

index d7c70feb5d0cfc3c48f16c84817d7c88a424b35d..a5cbbb8a36866c96c9967091d33af2c30c45b17a 100644 (file)
@@ -90,6 +90,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();
index eecef2178e840ff8f432836cf625cba988dbebbd..10b3ffce8eccf67c2f510944faa8b56bd01420ba 100644 (file)
@@ -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();
index 295a4abe00e9f76490ccf11e40242821615e0883..b44dd26e53146b44b0c5e1b0702365d30d4e7763 100644 (file)
@@ -89,6 +89,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();
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();
index 00ca62c177877a9de8fb5f42cf7c5336a769be51..61fbe0299888817565c9af045acd8aebac7bd8f1 100644 (file)
@@ -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.027268 seconds and 4 git commands to generate.