MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / AllocationTestCase

Class AllocationTestCase

crates/memtrack/tests/shared.rs:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10pub type TrackResult = anyhow::Result<(Vec<Event>, std::thread::JoinHandle<()>)>;
11
12pub struct AllocationTestCase {
13 pub name: &'static str,
14 pub source: &'static str,
15}
16
17/// Snapshot every tracked event, ordered by timestamp and deduplicated by
18/// `(addr, kind)` so repeated tracking of one allocation counts once.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected