Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ reset
Method
reset
pulley/src/profile.rs:161–165 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
159
}
160
161
fn reset(&mut self) {
162
self.data.truncate(0);
163
self.data.extend_from_slice(&[0; 4]);
164
self.samples = 0;
165
}
166
}
167
168
impl Default for Samples {
Callers
2
add_samples
Method · 0.45
default
Method · 0.45
Calls
1
truncate
Method · 0.45
Tested by
no test coverage detected