MCPcopy Create free account
hub / github.com/aiscriptdev/aiscript / new

Method new

aiscript-arena/src/metrics.rs:87–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85
86impl Metrics {
87 pub(crate) fn new() -> Self {
88 let this = Self(Default::default());
89 this.start_cycle();
90 this
91 }
92
93 /// Return a value identifying the arena, for logging purposes.
94 #[cfg(feature = "tracing")]

Callers

nothing calls this directly

Calls 1

start_cycleMethod · 0.80

Tested by

no test coverage detected