|
@@ -21,6 +21,7 @@
|
|
|
#include "prio_deque.h"
|
|
|
#include "sched_component.h"
|
|
|
|
|
|
+#ifdef STARPU_USE_FXT
|
|
|
#define STARPU_TRACE_SCHED_COMPONENT_PUSH_PRIO(component,ntasks,exp_len) do { \
|
|
|
int workerid = STARPU_NMAXWORKERS + 1; \
|
|
|
if((component->nchildren == 1) && starpu_sched_component_is_worker(component->children[0])) \
|
|
@@ -34,6 +35,10 @@
|
|
|
workerid = starpu_sched_component_worker_get_workerid(component->children[0]); \
|
|
|
_STARPU_TRACE_SCHED_COMPONENT_POP_PRIO(workerid, ntasks, exp_len); \
|
|
|
} while (0)
|
|
|
+#else
|
|
|
+#define STARPU_TRACE_SCHED_COMPONENT_PUSH_PRIO(component,ntasks,exp_len) do { } while (0)
|
|
|
+#define STARPU_TRACE_SCHED_COMPONENT_POP_PRIO(component,ntasks,exp_len) do { } while (0)
|
|
|
+#endif
|
|
|
|
|
|
struct _starpu_prio_data
|
|
|
{
|