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 *name) noexcept#

Set the OS thread name in the profiler timeline.

inline constexpr char const *rename_region(char const *name) noexcept#

Rename the currently active region on this thread; returns the previous name, or the caller’s input if no rename occurred.

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: future state fulfilled (no-op stub for ITTNotify).

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

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: future exception set (no-op stub for ITTNotify).

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

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

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

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: 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 (no-op stub for ITTNotify).

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

constexpr void work_stolen(std::size_t, std::size_t, void const*, char const* = nullptr) noexcept#

Signal emitted when a worker thread steals a task from another worker.

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

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

Frame boundary marker.

Emit a frame/stage boundary marker in Tracy timeline.

Frame boundary marker (no-op stub).

Parameters:

name – Optional name for the frame/stage.

inline constexpr void os_thread_sleep(std::size_t num_thread) noexcept#

Point message emitted just before an OS worker thread suspends on its condition variable.

Parameters:

num_thread – Index of the worker thread entering sleep.

struct lock_context#
#include <tracing.hpp>
struct region_init_data#
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 region#

Public Functions

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

Public Functions

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

Public Functions

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

Public Functions

inline explicit constexpr fiber_suspend_region(char const*) noexcept#
struct background_work_region#

Public Functions

inline explicit constexpr background_work_region(std::size_t = 0) noexcept#
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#
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_#