fxt.h File Reference
`#include <string.h>`
`#include <sys/types.h>`
`#include <stdlib.h>`
`#include <common/config.h>`
`#include <common/utils.h>`
`#include <starpu.h>`

Go to the source code of this file.

## Macros

#define | _GNU_SOURCE
#define | _STARPU_FUT_APPS_KEY
#define | _STARPU_FUT_CPU_KEY
#define | _STARPU_FUT_CUDA_KEY
#define | _STARPU_FUT_OPENCL_KEY
#define | _STARPU_FUT_MIC_KEY
#define | _STARPU_FUT_MPI_KEY
#define | _STARPU_FUT_WORKER_INIT_START
#define | _STARPU_FUT_WORKER_INIT_END
#define | _STARPU_FUT_START_CODELET_BODY
#define | _STARPU_FUT_END_CODELET_BODY
#define | _STARPU_FUT_JOB_PUSH
#define | _STARPU_FUT_JOB_POP
#define | _STARPU_FUT_UPDATE_TASK_CNT
#define | _STARPU_FUT_START_FETCH_INPUT_ON_TID
#define | _STARPU_FUT_END_FETCH_INPUT_ON_TID
#define | _STARPU_FUT_START_PUSH_OUTPUT_ON_TID
#define | _STARPU_FUT_END_PUSH_OUTPUT_ON_TID
#define | _STARPU_FUT_TAG
#define | _STARPU_FUT_TAG_DEPS
#define | _STARPU_FUT_TASK_DEPS
#define | _STARPU_FUT_DATA_COPY
#define | _STARPU_FUT_WORK_STEALING
#define | _STARPU_FUT_WORKER_DEINIT_START
#define | _STARPU_FUT_WORKER_DEINIT_END
#define | _STARPU_FUT_WORKER_SLEEP_START
#define | _STARPU_FUT_WORKER_SLEEP_END
#define | _STARPU_FUT_TASK_SUBMIT
#define | _STARPU_FUT_CODELET_DATA_HANDLE
#define | _STARPU_FUT_MODEL_NAME
#define | _STARPU_FUT_DATA_NAME
#define | _STARPU_FUT_DATA_COORDINATES
#define | _STARPU_FUT_HANDLE_DATA_UNREGISTER
#define | _STARPU_FUT_USER_DEFINED_START
#define | _STARPU_FUT_USER_DEFINED_END
#define | _STARPU_FUT_NEW_MEM_NODE
#define | _STARPU_FUT_START_CALLBACK
#define | _STARPU_FUT_END_CALLBACK
#define | _STARPU_FUT_TASK_DONE
#define | _STARPU_FUT_TAG_DONE
#define | _STARPU_FUT_START_ALLOC
#define | _STARPU_FUT_END_ALLOC
#define | _STARPU_FUT_START_ALLOC_REUSE
#define | _STARPU_FUT_END_ALLOC_REUSE
#define | _STARPU_FUT_USED_MEM
#define | _STARPU_FUT_TASK_NAME
#define | _STARPU_FUT_DATA_WONT_USE
#define | _STARPU_FUT_TASK_COLOR
#define | _STARPU_FUT_DATA_DOING_WONT_USE
#define | _STARPU_FUT_START_MEMRECLAIM
#define | _STARPU_FUT_END_MEMRECLAIM
#define | _STARPU_FUT_START_DRIVER_COPY
#define | _STARPU_FUT_END_DRIVER_COPY
#define | _STARPU_FUT_START_DRIVER_COPY_ASYNC
#define | _STARPU_FUT_END_DRIVER_COPY_ASYNC
#define | _STARPU_FUT_START_PROGRESS_ON_TID
#define | _STARPU_FUT_END_PROGRESS_ON_TID
#define | _STARPU_FUT_USER_EVENT
#define | _STARPU_FUT_SET_PROFILING
#define | _STARPU_FUT_TASK_WAIT_FOR_ALL
#define | _STARPU_FUT_EVENT
#define | _STARPU_FUT_THREAD_EVENT
#define | _STARPU_FUT_CODELET_DETAILS
#define | _STARPU_FUT_CODELET_DATA
#define | _STARPU_FUT_LOCKING_MUTEX
#define | _STARPU_FUT_MUTEX_LOCKED
#define | _STARPU_FUT_UNLOCKING_MUTEX
#define | _STARPU_FUT_MUTEX_UNLOCKED
#define | _STARPU_FUT_TRYLOCK_MUTEX
#define | _STARPU_FUT_RDLOCKING_RWLOCK
#define | _STARPU_FUT_RWLOCK_RDLOCKED
#define | _STARPU_FUT_WRLOCKING_RWLOCK
#define | _STARPU_FUT_RWLOCK_WRLOCKED
#define | _STARPU_FUT_UNLOCKING_RWLOCK
#define | _STARPU_FUT_RWLOCK_UNLOCKED
#define | _STARPU_FUT_LOCKING_SPINLOCK
#define | _STARPU_FUT_SPINLOCK_LOCKED
#define | _STARPU_FUT_UNLOCKING_SPINLOCK
#define | _STARPU_FUT_SPINLOCK_UNLOCKED
#define | _STARPU_FUT_TRYLOCK_SPINLOCK
#define | _STARPU_FUT_COND_WAIT_BEGIN
#define | _STARPU_FUT_COND_WAIT_END
#define | _STARPU_FUT_MEMORY_FULL
#define | _STARPU_FUT_DATA_LOAD
#define | _STARPU_FUT_START_UNPARTITION_ON_TID
#define | _STARPU_FUT_END_UNPARTITION_ON_TID
#define | _STARPU_FUT_START_FREE
#define | _STARPU_FUT_END_FREE
#define | _STARPU_FUT_START_WRITEBACK
#define | _STARPU_FUT_END_WRITEBACK
#define | _STARPU_FUT_SCHED_COMPONENT_PUSH_PRIO
#define | _STARPU_FUT_SCHED_COMPONENT_POP_PRIO
#define | _STARPU_FUT_START_WRITEBACK_ASYNC
#define | _STARPU_FUT_END_WRITEBACK_ASYNC
#define | _STARPU_FUT_HYPERVISOR_BEGIN
#define | _STARPU_FUT_HYPERVISOR_END
#define | _STARPU_FUT_BARRIER_WAIT_BEGIN
#define | _STARPU_FUT_BARRIER_WAIT_END
#define | _STARPU_FUT_WORKER_SCHEDULING_START
#define | _STARPU_FUT_WORKER_SCHEDULING_END
#define | _STARPU_FUT_WORKER_SCHEDULING_PUSH
#define | _STARPU_FUT_WORKER_SCHEDULING_POP
#define | _STARPU_FUT_START_EXECUTING
#define | _STARPU_FUT_END_EXECUTING
#define | _STARPU_FUT_SCHED_COMPONENT_NEW
#define | _STARPU_FUT_SCHED_COMPONENT_CONNECT
#define | _STARPU_FUT_SCHED_COMPONENT_PUSH
#define | _STARPU_FUT_SCHED_COMPONENT_PULL
#define | _STARPU_FUT_TASK_SUBMIT_START
#define | _STARPU_FUT_TASK_SUBMIT_END
#define | _STARPU_FUT_TASK_BUILD_START
#define | _STARPU_FUT_TASK_BUILD_END
#define | _STARPU_FUT_TASK_MPI_DECODE_START
#define | _STARPU_FUT_TASK_MPI_DECODE_END
#define | _STARPU_FUT_TASK_MPI_PRE_START
#define | _STARPU_FUT_TASK_MPI_PRE_END
#define | _STARPU_FUT_TASK_MPI_POST_START
#define | _STARPU_FUT_TASK_MPI_POST_END
#define | _STARPU_FUT_TASK_WAIT_START
#define | _STARPU_FUT_TASK_WAIT_END
#define | _STARPU_FUT_TASK_WAIT_FOR_ALL_START
#define | _STARPU_FUT_TASK_WAIT_FOR_ALL_END
#define | _STARPU_FUT_HANDLE_DATA_REGISTER
#define | _STARPU_FUT_START_FETCH_INPUT
#define | _STARPU_FUT_END_FETCH_INPUT
#define | _STARPU_FUT_TASK_THROTTLE_START
#define | _STARPU_FUT_TASK_THROTTLE_END
#define | _STARPU_FUT_DATA_STATE_INVALID
#define | _STARPU_FUT_DATA_STATE_OWNER
#define | _STARPU_FUT_DATA_STATE_SHARED
#define | _STARPU_FUT_DATA_REQUEST_CREATED
#define | _STARPU_FUT_TASK_EXCLUDE_FROM_DAG
#define | _STARPU_TRACE_NEW_MEM_NODE(nodeid)
#define | _STARPU_TRACE_WORKER_INIT_START(a, b, c, d, e, f)
#define | _STARPU_TRACE_WORKER_INIT_END(workerid)
#define | _STARPU_TRACE_START_CODELET_BODY(job, nimpl, perf_arch, workerid)
#define | _STARPU_TRACE_END_CODELET_BODY(job, nimpl, perf_arch, workerid)
#define | _STARPU_TRACE_START_EXECUTING()
#define | _STARPU_TRACE_END_EXECUTING()
#define | _STARPU_TRACE_START_CALLBACK(job)
#define | _STARPU_TRACE_END_CALLBACK(job)
#define | _STARPU_TRACE_JOB_PUSH(task, prio)
#define | _STARPU_TRACE_JOB_POP(task, prio)
#define | _STARPU_TRACE_UPDATE_TASK_CNT(counter)
#define | _STARPU_TRACE_START_FETCH_INPUT(job)
#define | _STARPU_TRACE_END_FETCH_INPUT(job)
#define | _STARPU_TRACE_START_PUSH_OUTPUT(job)
#define | _STARPU_TRACE_END_PUSH_OUTPUT(job)
#define | _STARPU_TRACE_TAG(tag, job)
#define | _STARPU_TRACE_TAG_DEPS(a, b)
#define | _STARPU_TRACE_TASK_DEPS(a, b)
#define | _STARPU_TRACE_GHOST_TASK_DEPS(a, b)
#define | _STARPU_TRACE_TASK_EXCLUDE_FROM_DAG(a)
#define | _STARPU_TRACE_TASK_NAME(a)
#define | _STARPU_TRACE_TASK_COLOR(a)
#define | _STARPU_TRACE_TASK_DONE(a)
#define | _STARPU_TRACE_TAG_DONE(a)
#define | _STARPU_TRACE_DATA_NAME(a, b)
#define | _STARPU_TRACE_DATA_COORDINATES(a, b, c)
#define | _STARPU_TRACE_DATA_COPY(a, b, c)
#define | _STARPU_TRACE_DATA_WONT_USE(a)
#define | _STARPU_TRACE_DATA_DOING_WONT_USE(a)
#define | _STARPU_TRACE_START_DRIVER_COPY(a, b, c, d, e, f)
#define | _STARPU_TRACE_END_DRIVER_COPY(a, b, c, d, e)
#define | _STARPU_TRACE_START_DRIVER_COPY_ASYNC(a, b)
#define | _STARPU_TRACE_END_DRIVER_COPY_ASYNC(a, b)
#define | _STARPU_TRACE_WORK_STEALING(a, b)
#define | _STARPU_TRACE_WORKER_DEINIT_START
#define | _STARPU_TRACE_WORKER_DEINIT_END(a)
#define | _STARPU_TRACE_WORKER_SCHEDULING_START
#define | _STARPU_TRACE_WORKER_SCHEDULING_END
#define | _STARPU_TRACE_WORKER_SCHEDULING_PUSH
#define | _STARPU_TRACE_WORKER_SCHEDULING_POP
#define | _STARPU_TRACE_WORKER_SLEEP_START
#define | _STARPU_TRACE_WORKER_SLEEP_END
#define | _STARPU_TRACE_TASK_SUBMIT(job, a, b)
#define | _STARPU_TRACE_TASK_SUBMIT_START()
#define | _STARPU_TRACE_TASK_SUBMIT_END()
#define | _STARPU_TRACE_TASK_THROTTLE_START()
#define | _STARPU_TRACE_TASK_THROTTLE_END()
#define | _STARPU_TRACE_TASK_BUILD_START()
#define | _STARPU_TRACE_TASK_BUILD_END()
#define | _STARPU_TRACE_TASK_MPI_DECODE_START()
#define | _STARPU_TRACE_TASK_MPI_DECODE_END()
#define | _STARPU_TRACE_TASK_MPI_PRE_START()
#define | _STARPU_TRACE_TASK_MPI_PRE_END()
#define | _STARPU_TRACE_TASK_MPI_POST_START()
#define | _STARPU_TRACE_TASK_MPI_POST_END()
#define | _STARPU_TRACE_TASK_WAIT_START(job)
#define | _STARPU_TRACE_TASK_WAIT_END()
#define | _STARPU_TRACE_TASK_WAIT_FOR_ALL_START()
#define | _STARPU_TRACE_TASK_WAIT_FOR_ALL_END()
#define | _STARPU_TRACE_USER_DEFINED_START()
#define | _STARPU_TRACE_USER_DEFINED_END()
#define | _STARPU_TRACE_START_ALLOC(memnode, size, handle, is_prefetch)
#define | _STARPU_TRACE_END_ALLOC(memnode, handle, r)
#define | _STARPU_TRACE_START_ALLOC_REUSE(a, size, handle, is_prefetch)
#define | _STARPU_TRACE_END_ALLOC_REUSE(a, handle, r)
#define | _STARPU_TRACE_START_FREE(memnode, size, handle)
#define | _STARPU_TRACE_END_FREE(memnode, handle)
#define | _STARPU_TRACE_START_WRITEBACK(memnode, handle)
#define | _STARPU_TRACE_END_WRITEBACK(memnode, handle)
#define | _STARPU_TRACE_USED_MEM(memnode, used)
#define | _STARPU_TRACE_START_MEMRECLAIM(memnode, is_prefetch)
#define | _STARPU_TRACE_END_MEMRECLAIM(memnode, is_prefetch)
#define | _STARPU_TRACE_START_WRITEBACK_ASYNC(memnode)
#define | _STARPU_TRACE_END_WRITEBACK_ASYNC(memnode)
#define | _STARPU_TRACE_START_PROGRESS(memnode)
#define | _STARPU_TRACE_END_PROGRESS(memnode)
#define | _STARPU_TRACE_USER_EVENT(code)
#define | _STARPU_TRACE_SET_PROFILING(status)
#define | _STARPU_TRACE_TASK_WAIT_FOR_ALL()
#define | _STARPU_TRACE_EVENT(S)
#define | _STARPU_TRACE_THREAD_EVENT(S)
#define | _STARPU_TRACE_LOCKING_MUTEX()
#define | _STARPU_TRACE_MUTEX_LOCKED()
#define | _STARPU_TRACE_UNLOCKING_MUTEX()
#define | _STARPU_TRACE_MUTEX_UNLOCKED()
#define | _STARPU_TRACE_TRYLOCK_MUTEX()
#define | _STARPU_TRACE_RDLOCKING_RWLOCK()
#define | _STARPU_TRACE_RWLOCK_RDLOCKED()
#define | _STARPU_TRACE_WRLOCKING_RWLOCK()
#define | _STARPU_TRACE_RWLOCK_WRLOCKED()
#define | _STARPU_TRACE_UNLOCKING_RWLOCK()
#define | _STARPU_TRACE_RWLOCK_UNLOCKED()
#define | _STARPU_TRACE_LOCKING_SPINLOCK(file, line)
#define | _STARPU_TRACE_SPINLOCK_LOCKED(file, line)
#define | _STARPU_TRACE_UNLOCKING_SPINLOCK(file, line)
#define | _STARPU_TRACE_SPINLOCK_UNLOCKED(file, line)
#define | _STARPU_TRACE_TRYLOCK_SPINLOCK(file, line)
#define | _STARPU_TRACE_COND_WAIT_BEGIN()
#define | _STARPU_TRACE_COND_WAIT_END()
#define | _STARPU_TRACE_BARRIER_WAIT_BEGIN()
#define | _STARPU_TRACE_BARRIER_WAIT_END()
#define | _STARPU_TRACE_MEMORY_FULL(size)
#define | _STARPU_TRACE_DATA_LOAD(workerid, size)
#define | _STARPU_TRACE_START_UNPARTITION(handle, memnode)
#define | _STARPU_TRACE_END_UNPARTITION(handle, memnode)
#define | _STARPU_TRACE_SCHED_COMPONENT_PUSH_PRIO(workerid, ntasks, exp_len)
#define | _STARPU_TRACE_SCHED_COMPONENT_POP_PRIO(workerid, ntasks, exp_len)
#define | _STARPU_TRACE_HYPERVISOR_BEGIN()
#define | _STARPU_TRACE_HYPERVISOR_END()
#define | _STARPU_TRACE_SCHED_COMPONENT_NEW(component)
#define | _STARPU_TRACE_SCHED_COMPONENT_CONNECT(parent, child)
#define | _STARPU_TRACE_SCHED_COMPONENT_PUSH(from, to, task)
#define | _STARPU_TRACE_SCHED_COMPONENT_PULL(from, to, task)
#define | _STARPU_TRACE_HANDLE_DATA_REGISTER(handle)
#define | _STARPU_TRACE_HANDLE_DATA_UNREGISTER(handle)
#define | _STARPU_TRACE_WORKER_START_FETCH_INPUT(job, id)
#define | _STARPU_TRACE_WORKER_END_FETCH_INPUT(job, id)
#define | _STARPU_TRACE_DATA_STATE_INVALID(handle, node)
#define | _STARPU_TRACE_DATA_STATE_OWNER(handle, node)
#define | _STARPU_TRACE_DATA_STATE_SHARED(handle, node)
#define | _STARPU_TRACE_DATA_REQUEST_CREATED(handle, orig, dest, prio, is_pre)

## Functions

static unsigned long | _starpu_fxt_get_job_id (void)

## Variables

unsigned long | _starpu_job_cnt