|
@@ -1,6 +1,6 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
- * Copyright (C) 2010, 2011 Université de Bordeaux 1
|
|
|
+ * Copyright (C) 2010-2012 Université de Bordeaux 1
|
|
|
* Copyright (C) 2010, 2011, 2012 Centre National de la Recherche Scientifique
|
|
|
* Copyright (C) 2011 Télécom-SudParis
|
|
|
*
|
|
@@ -107,7 +107,7 @@ void _starpu_driver_update_job_feedback(struct _starpu_job *j, struct _starpu_wo
|
|
|
if (cl->model && _starpu_get_calibrate_flag())
|
|
|
calibrate_model = 1;
|
|
|
|
|
|
- if (profiling_info || calibrate_model)
|
|
|
+ if ((profiling && profiling_info) || calibrate_model)
|
|
|
{
|
|
|
starpu_timespec_sub(codelet_end, codelet_start, &measured_ts);
|
|
|
measured = starpu_timing_timespec_to_us(&measured_ts);
|