Procházet zdrojové kódy

revert r6895, it perturbs measurements

Samuel Thibault před 12 roky
rodič
revize
a7aa151601
1 změnil soubory, kde provedl 1 přidání a 4 odebrání
  1. 1 4
      tools/starpu_calibrate_bus.c

+ 1 - 4
tools/starpu_calibrate_bus.c

@@ -78,12 +78,9 @@ int main(int argc, char **argv)
 
 	parse_args(argc, argv);
 
-	if (starpu_init(NULL) == -ENODEV)
-		return 0; /* Nothing to calibrate, so this is a success :) */
+	/* Note: do not initialize StarPU, to avoid perturbing measurements.  */
 
 	starpu_force_bus_sampling();
 
-	starpu_shutdown();
-
 	return 0;
 }