Softanza
StartFrançais
Softanza
The library documents itself · Performance

stzStopwatch

26 own methods · 0 forms written with extensions, listed under their method

the source: base/perf/stzStopwatch.ring(opens in a new tab) · All classes · The area reference: Performance

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

No method of this class is run on this page: the class reaches files, the network, processes, the clock, chance or sound, and an example run here would only be an example of its effects. Each method carries the explanation the library gives of itself.

Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
Name
(no comment in the source: the name reads as a sentence) nameno extension
SetName
(no comment in the source: the name reads as a sentence) set nameno extension
Start
The clock ------------------------------------------------ Start() restarts from zero (fresh span, fresh laps, fresh wall anchor) -- the engine watch_start semantics. To continue after a Pause()/Stop() without discarding, use Resume().no extension
Pause
(no comment in the source: the name reads as a sentence) pauseno extension
Resume
(no comment in the source: the name reads as a sentence) resumeno extension
Stop
Stop() = Pause() + stamp the span's wall end, so the record / OTel export has a closed [start, end] interval.no extension
Reset
(no comment in the source: the name reads as a sentence) resetno extension
IsRunning
(no comment in the source: the name reads as a sentence) is runningno extension
ElapsedNs
Elapsed: numbers, monotonic, unit in the verbno extension
ElapsedUs
(no comment in the source: the name reads as a sentence) elapsed usno extension
ElapsedMs
The house unit is milliseconds (see the engine time bridge).also written: Elapsedno extension
ElapsedS
(no comment in the source: the name reads as a sentence) elapsed sno extension
Lap
Laps ----------------------------------------------------- A split reading without stopping: label + elapsed-at-lap (ms, monotonic) + a wall anchor for serialization.no extension
Laps
(no comment in the source: the name reads as a sentence) lapsno extension
NumberOfLaps
(no comment in the source: the name reads as a sentence) number of lapsno extension
Record
The record (Softanza-native serialization)no extension
TraceContextQ
W3C trace identity (engine tracectx)no extension
TraceId
(no comment in the source: the name reads as a sentence) trace idno extension
SpanId
(no comment in the source: the name reads as a sentence) span idno extension
TraceParent
The traceparent header value -- hand it to a downstream call (stzHttpClient.SetTraceParent) and the export joins one trace.no extension
JoinTrace
Adopt an incoming traceparent so this span joins an existing trace instead of opening a fresh one.no extension
ToOtelSpan
OpenTelemetry export (industry interop) ------------------ The span as a hashlist in OTel vocabulary. Absolute anchors in unix NANOS as STRINGS (integer ms + "000000" -- exact, since f64 cannot hold epoch nanos); exact ns duration as an attribute.no extension
ToOtelJson
One OTLP-style span as a JSON string.no extension
Explain
Legibilityno extension
Show
(no comment in the source: the name reads as a sentence) showno extension