hpx/tracing/backends/apex.hpp#

Defined in header hpx/tracing/backends/apex.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace tracing

Typedefs

bool(*)() enable_parent_task_handler_type
typedef char const *annotation_handle#

Functions

inline constexpr annotation_handle create_annotation_handle(char const *name) noexcept#
inline constexpr void set_thread_name(char const*) noexcept#
constexpr char const *rename_region(char const*) noexcept#
constexpr void task_staged(char const*, void const* = nullptr) noexcept#
constexpr void task_created(char const*, void const*, void const* = nullptr) noexcept#
constexpr void task_executing(void const*, char const*, std::size_t) noexcept#
constexpr void task_yielded(void const*, char const*) noexcept#
constexpr void task_suspended(void const*, char const*, char const* = nullptr) noexcept#
constexpr void task_resumed(void const*, char const*, char const* = nullptr) noexcept#
constexpr void task_completed(void const*, char const*) noexcept#
constexpr void task_deleted(void const*) noexcept#
constexpr void future_fulfilled(void const*, char const* = nullptr) noexcept#

Producer-side signal: future state fulfilled (no-op stub for APEX).

Producer-side signal: a future shared state was set to a value.

Producer-side signal: future state fulfilled (no-op stub for ITTNotify).

Producer-side signal: future state fulfilled (no-op stub).

Parameters
  • future_id – Pointer to the future_data shared state. Used as a stable identifier to correlate producer and consumer events in the Tracy message log.

  • desc – Optional description of the producing context (e.g. the name of the promise or task).

constexpr void future_exception_set(void const*, char const* = nullptr) noexcept#

Producer-side signal: future exception set (no-op stub for APEX).

Producer-side signal: a future shared state was set with an exception.

Producer-side signal: future exception set (no-op stub for ITTNotify).

Producer-side signal: future exception set (no-op stub).

Parameters
  • future_id – Pointer to the future_data shared state.

  • desc – Optional description of the producing context.

constexpr void continuation_run(void const* = nullptr) noexcept#

Consumer-side signal: continuation started (no-op stub for APEX).

Consumer-side signal: a continuation has started executing, correlated with the source future state.

Consumer-side signal: continuation started (no-op stub for ITTNotify).

Consumer-side signal: continuation started (no-op stub).

constexpr void continuation_finished(void const* = nullptr) noexcept#

Consumer-side signal: continuation finished (no-op stub for APEX).

Consumer-side signal: a continuation has finished executing.

Consumer-side signal: continuation finished (no-op stub for ITTNotify).

Consumer-side signal: continuation finished (no-op stub).

constexpr void handle_on_completed_fired(void const* = nullptr) noexcept#

Consumer-side signal: handle_on_completed fired (no-op stub for APEX).

Consumer-side signal: handle_on_completed fired, dispatching registered continuations.

Consumer-side signal: handle_on_completed fired (no-op stub for ITTNotify).

Consumer-side signal: handle_on_completed fired (no-op stub).

constexpr void frame_mark(char const* = nullptr) noexcept#

Frame boundary marker (no-op stub for APEX).

Emit a frame/stage boundary marker in Tracy timeline.

Frame boundary marker (no-op stub for ITTNotify).

Frame boundary marker (no-op stub).

Parameters

name – Optional name for the frame/stage.

struct fiber_region#

Public Functions

inline explicit constexpr fiber_region(fiber_region_init_data const&, std::size_t) noexcept#
struct fiber_region_init_data#
struct fiber_suspend_region#

Public Functions

inline explicit constexpr fiber_suspend_region(char const*) noexcept#
struct lock_context#
#include <tracing.hpp>
struct loop_context#

Public Functions

inline explicit constexpr loop_context() noexcept#
~loop_context() = default#
loop_context(loop_context const&) = delete#
loop_context &operator=(loop_context const&) = delete#
struct mark_event#

Public Functions

inline explicit constexpr mark_event(char const*) noexcept#
struct region#

Public Functions

inline explicit constexpr region(loop_context&, region_init_data const&, std::size_t) noexcept#
struct region_init_data#
struct scoped_task_timer#

Public Functions

explicit scoped_task_timer(task_timer_data data) noexcept#
~scoped_task_timer()#
scoped_task_timer(scoped_task_timer const&) = delete#
scoped_task_timer &operator=(scoped_task_timer const&) = delete#
void stop() noexcept#
void yield() noexcept#
template<typename T, typename State>
inline void handle_post_execution(T *thrdptr, State s) noexcept#

Private Members

bool stopped_#
task_timer_data data_#
struct task_timer_data#

Public Functions

task_timer_data() noexcept = default#
inline explicit task_timer_data(std::shared_ptr<util::external_timer::task_wrapper> data) noexcept#
inline operator std::shared_ptr<util::external_timer::task_wrapper>() const noexcept#
inline constexpr bool valid() const noexcept#

Public Members

std::shared_ptr<util::external_timer::task_wrapper> data#