MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / cpuid_to_tid

Function cpuid_to_tid

vmm/src/gdb.rs:207–209  ·  view source on GitHub ↗
(cpu_id: usize)

Source from the content-addressed store, hash-verified

205}
206
207fn cpuid_to_tid(cpu_id: usize) -> Tid {
208 Tid::new(get_raw_tid(cpu_id)).unwrap()
209}
210
211pub fn get_raw_tid(cpu_id: usize) -> usize {
212 cpu_id + 1

Callers 1

list_active_threadsMethod · 0.85

Calls 2

newFunction · 0.85
get_raw_tidFunction · 0.85

Tested by

no test coverage detected