Struct PhaseTimer¶
Defined in File cache_manager.hpp
Nested Relationships¶
Nested Types¶
Struct Documentation¶
-
struct PhaseTimer¶
diagnostic (analysis-only, off by default): scoped wall-clock timer that accumulates elapsed time into named buckets, for locating where the (single-threaded) ordered-executor driver spends time. Times are inclusive (a region’s time includes any nested regions and any TA dispatch inside it), so compare siblings and drill into the hot one. Env gate SEQUANT_UT_PHASE; inert when unset. Single-threaded only.
Public Static Functions
-
static inline bool enabled() noexcept¶
-
static inline std::function<void()> &fence_hook() noexcept¶
-
static inline std::size_t &barrier_count() noexcept¶
-
static inline std::uint64_t &barrier_ns() noexcept¶
-
static inline void barrier() noexcept¶
-
static inline std::map<std::string, std::pair<std::uint64_t, std::uint64_t>> &acc() noexcept¶
-
struct Scope¶
-
static inline bool enabled() noexcept¶