update
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 7 Apr 2008 22:05:12 +0000 (22:05 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 7 Apr 2008 22:05:12 +0000 (22:05 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2852 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 54f7dd2ebf7a95156bdd599585ccd38299cc52a6..da876b1d2115022cfa909d8a74204442b69e4986 100644 (file)
@@ -62,11 +62,16 @@ static void noinline test2(const struct marker *mdata,
        //asm volatile ("");
 struct proc_dir_entry *pentry = NULL;
 
+volatile int temp = 10;
+volatile int temp2 = 10;
+
 static inline void test(unsigned long arg, unsigned long arg2)
 {
 #ifdef CACHEFLUSH
        wbinvd();
 #endif
+       temp = temp * 100 + 60;
+       temp2 = temp << 10;
        //asm volatile ("");
        //__my_trace_mark(1, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2);
        test2(NULL, NULL, 2, current->pid, arg, arg2);
index 6db88fbf71a5bb3ee6466008d48213e17f14a2be..00b9208140d57972a144396e0c007f71bc8566f4 100644 (file)
@@ -52,11 +52,16 @@ static void noinline test2(const struct marker *mdata,
        //asm volatile ("");
 struct proc_dir_entry *pentry = NULL;
 
+volatile int temp = 10;
+volatile int temp2 = 10;
+
 static inline void test(unsigned long arg, unsigned long arg2)
 {
 #ifdef CACHEFLUSH
        wbinvd();
 #endif
+       temp = temp * 100 + 60;
+       temp2 = temp << 10;
        asm volatile ("");
        //__my_trace_mark(1, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2);
        //__my_trace_mark(0, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2);
index b402e16d2272027f2e929e32a284ef1ddbd8e5dd..76c219b12e59e55f2a9f539d89bc02fcb8f2296d 100644 (file)
@@ -62,11 +62,16 @@ static void noinline test2(const struct marker *mdata,
        //asm volatile ("");
 struct proc_dir_entry *pentry = NULL;
 
+volatile int temp = 10;
+volatile int temp2 = 10;
+
 static inline void test(unsigned long arg, unsigned long arg2)
 {
 #ifdef CACHEFLUSH
        wbinvd();
 #endif
+       temp = temp * 100 + 60;
+       temp2 = temp << 10;
        //asm volatile ("");
        //__my_trace_mark(1, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2);
        test2(NULL, NULL, 2, 10, arg, arg2);
index 39d247e0d1ff2456427fe480d6059599fc85e280..9e674aaca6bfc3b065588c5a1e6523a013ddd6d7 100644 (file)
@@ -52,11 +52,16 @@ static void noinline test2(const struct marker *mdata,
        //asm volatile ("");
 struct proc_dir_entry *pentry = NULL;
 
+volatile int temp = 10;
+volatile int temp2 = 10;
+
 static inline void test(unsigned long arg, unsigned long arg2)
 {
 #ifdef CACHEFLUSH
        wbinvd();
 #endif
+       temp = temp * 100 + 60;
+       temp2 = temp << 10;
        //asm volatile ("");
        //__my_trace_mark(1, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2);
        __my_trace_mark(0, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2);
index 4aa4d7427b2ac23d4e398c7c9c24d0e7c2624768..ab55af31eaaf7ec47147daead6d064c5ef533a9c 100644 (file)
@@ -52,11 +52,16 @@ static void noinline test2(const struct marker *mdata,
        //asm volatile ("");
 struct proc_dir_entry *pentry = NULL;
 
+volatile int temp = 10;
+volatile int temp2 = 10;
+
 static inline void test(unsigned long arg, unsigned long arg2)
 {
 #ifdef CACHEFLUSH
        wbinvd();
 #endif
+       temp = temp * 100 + 60;
+       temp2 = temp << 10;
        //asm volatile ("");
        __my_trace_mark(1, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2);
        //__my_trace_mark(0, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2);
This page took 0.027926 seconds and 4 git commands to generate.