EngineStats class

Public static variables

static uint64_t BindTarget constexpr
What UI bindings name to read these: Bind(EngineStats::BindTarget, Expr::Field(stat)).

Public static functions

static void Set(EngineStat stat, float value)
static auto Get(EngineStat stat) -> float
The value last written. What is being injected is read live from StressInjection.
static void AddRollback()
Count something that happens (a rollback). Any thread.
static auto TakeRollbacks() -> uint32_t
How many were counted since the last call. One caller: whoever turns them into a rate.