Parcourir la source

src/common/timing.c: fix variable name

Nathalie Furmento il y a 13 ans
Parent
commit
9280e96d5a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/common/timing.c

+ 1 - 1
src/common/timing.c

@@ -100,7 +100,7 @@ union starpu_u_tick
 
 #define STARPU_GET_TICK(t) __asm__ volatile("rdtsc" : "=a" ((t).sub.low), "=d" ((t).sub.high))
 #define STARPU_TICK_RAW_DIFF(t1, t2) ((t2).tick - (t1).tick)
-#define STARPU_TICK_DIFF(t1, t2) (STARPU_TICK_RAW_DIFF(t1, t2) - residual)
+#define STARPU_TICK_DIFF(t1, t2) (STARPU_TICK_RAW_DIFF(t1, t2) - _starpu_residual)
 
 static union starpu_u_tick _starpu_reference_start_tick;
 static double _starpu_scale = 0.0;