Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hashintel/hash
/ cpu
Method
cpu
libs/darwin-kperf/src/database.rs:160–162 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
158
/// The `Cpu` corresponding to this database.
159
#[must_use]
160
pub const fn cpu(&self) -> Option<Cpu> {
161
Cpu::from_db_name(self.name())
162
}
163
164
/// Marketing name, e.g. `
"Apple A14/M1"
`.
165
#[must_use]
Callers
2
sampler_new_succeeds
Function · 0.45
database_cpu_matches_sampler_cpu
Function · 0.45
Calls
1
name
Method · 0.45
Tested by
2
sampler_new_succeeds
Function · 0.36
database_cpu_matches_sampler_cpu
Function · 0.36