Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit de288314 authored by Mathieu Faverge's avatar Mathieu Faverge

Fix commit b7731f39 that inversed order of timing functions

parent cf6d3f4f
......@@ -217,21 +217,21 @@ enum dparam_timing {
* General Macros for timing
*
*/
#define START_TIMING() \
t = -RUNTIME_get_time(); \
START_DAG(); \
START_TRACING(); \
START_DISTRIBUTED();
#define STOP_TIMING() \
t += RUNTIME_get_time(); \
if (iparam[IPARAM_PROFILE] == 2) { \
RUNTIME_kernelprofile_display(); \
RUNTIME_schedprofile_display(); \
} \
*t_ = t; \
STOP_DISTRIBUTED(); \
STOP_TRACING(); \
STOP_DAG();
#define START_TIMING() \
START_DAG(); \
START_TRACING(); \
START_DISTRIBUTED(); \
t = -RUNTIME_get_time();
#define STOP_TIMING() \
STOP_DISTRIBUTED(); \
t += RUNTIME_get_time(); \
STOP_TRACING(); \
STOP_DAG(); \
if (iparam[IPARAM_PROFILE] == 2) { \
RUNTIME_kernelprofile_display(); \
RUNTIME_schedprofile_display(); \
} \
*t_ = t;
#endif /* TIMING_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment