Skip to main content

struct tracy_integration::async_lane_state

Declaration

struct tracy_integration::async_lane_state { /* full declaration omitted */ };

Description

State for an async (fiber) lane. Keeps the active (suspended) zone as well as the queue of eagerly submitted but not yet begun zones.

Member Variables

async_lane_id id
const char* fiber_name = nullptr
int32_t fiber_order = 0
size_t next_submission_idx = 0
std::optional<TracyCZoneCtx> active_zone_ctx
std::deque<async_zone> zone_queue
front(): currently active zone, front() + 1: zone to start immediately after front() has ended

Member Function Overview

Member Functions

explicit async_lane_state(const async_lane_id& id)

Parameters

const async_lane_id& id