Function pmu_x86::retrieve_samples

source ·
pub fn retrieve_samples() -> Result<SampleResults, &'static str>
Expand description

Returns the samples that were stored during sampling in the form of a SampleResults object. If samples are not yet finished, forces them to stop.