Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 6 of 6) sorted by relevance

/wasmtime-44.0.1/pulley/src/
H A Dprofile.rs126 samples.finalize(); in add_samples()
128 samples.reset(); in add_samples()
142 samples: u32, field
149 self.samples += 1; in append()
154 self.samples in num_samples()
164 self.samples = 0; in reset()
170 let mut samples = Samples { in default() localVariable
172 samples: 0, in default()
174 samples.reset(); in default()
175 samples in default()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/profiling_agent/
H A Dpulley.rs94 samples: Samples, field
179 if sampling.samples.num_samples() == 0 { in sampling_thread()
182 let samples = mem::take(&mut sampling.samples); in sampling_thread() localVariable
183 to_record.send(samples).unwrap(); in sampling_thread()
219 samples, in sampling_thread()
224 samples.append(pc); in sampling_thread()
227 if samples.num_samples() > state.sampling_flush_amt { in sampling_thread()
243 for mut samples in to_record { in recording_thread()
248 .add_samples(&mut samples) in recording_thread()
/wasmtime-44.0.1/pulley/examples/
H A Dprofiler-html.rs89 Event::Samples(samples) => { in main()
91 for sample in samples { in main()
/wasmtime-44.0.1/docs/
H A Dexamples-profiling-guest.md11 - `interval` is the duration between samples, 10ms by default
H A Dexamples-pulley.md200 to which Pulley opcode. Most of the time all the samples are just in the one
225 Pulley opcodes and samples taken. To view this file you can use:
233 instructions are annotated with the `%` of samples taken that were executing at
H A Dexamples-profiling-perf.md169 [ perf record: Captured and wrote 0.147 MB perf.data (3435 samples) ]