MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / new_id

Method new_id

splashsurf_lib/src/profiling.rs:170–175  ·  view source on GitHub ↗
(&self, name: &'static str, parent: Option<&ScopeId>)

Source from the content-addressed store, hash-verified

168 }
169
170 fn new_id(&self, name: &'static str, parent: Option<&ScopeId>) -> ScopeId {
171 ScopeId {
172 name,
173 parent_hash: ScopeId::get_hash(parent),
174 }
175 }
176}
177
178fn write_recursively<W: io::Write>(

Callers 2

enterMethod · 0.80
enter_with_parentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected