update
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 8 Apr 2008 04:29:05 +0000 (04:29 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 8 Apr 2008 04:29:05 +0000 (04:29 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2869 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 a5cbbb8a36866c96c9967091d33af2c30c45b17a..b6ca499db1bd9ff715ed92de3742d729aac656f2 100644 (file)
@@ -92,6 +92,7 @@ static int my_open(struct inode *inode, struct file *file)
        local_irq_save(flags);
 #ifdef CACHEFLUSH
        wbinvd();       /* initial write back, without cycle count */
+       msleep(20);     /* wait for L2 flush */
 #endif
        rdtsc_barrier();
        cycles1 = get_cycles();
index 10b3ffce8eccf67c2f510944faa8b56bd01420ba..e208a0a0caa01d5128b85281bea8a5364703803e 100644 (file)
@@ -81,6 +81,7 @@ static int my_open(struct inode *inode, struct file *file)
        local_irq_save(flags);
 #ifdef CACHEFLUSH
        wbinvd();       /* initial write back, without cycle count */
+       msleep(20);     /* wait for L2 flush */
 #endif
        rdtsc_barrier();
        cycles1 = get_cycles();
index b44dd26e53146b44b0c5e1b0702365d30d4e7763..2e32637e219f8b9005181f6c053dca57700a6d30 100644 (file)
@@ -91,6 +91,7 @@ static int my_open(struct inode *inode, struct file *file)
        local_irq_save(flags);
 #ifdef CACHEFLUSH
        wbinvd();       /* initial write back, without cycle count */
+       msleep(20);     /* wait for L2 flush */
 #endif
        rdtsc_barrier();
        cycles1 = get_cycles();
index f30d0247d219d7f30878e0210c147f386c244399..591656fa74737f5a18163fe71c63ea32218689d2 100644 (file)
@@ -80,6 +80,7 @@ static int my_open(struct inode *inode, struct file *file)
        local_irq_save(flags);
 #ifdef CACHEFLUSH
        wbinvd();       /* initial write back, without cycle count */
+       msleep(20);     /* wait for L2 flush */
 #endif
        rdtsc_barrier();
        cycles1 = get_cycles();
index 61fbe0299888817565c9af045acd8aebac7bd8f1..bdaa56ce205583d0fc9dffa0162d28e809b4efaa 100644 (file)
@@ -81,6 +81,7 @@ static int my_open(struct inode *inode, struct file *file)
        local_irq_save(flags);
 #ifdef CACHEFLUSH
        wbinvd();       /* initial write back, without cycle count */
+       msleep(20);     /* wait for L2 flush */
 #endif
        rdtsc_barrier();
        cycles1 = get_cycles();
This page took 0.028496 seconds and 4 git commands to generate.