Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
207
fn cpuid_to_tid(cpu_id: usize) -> Tid {
208
Tid::new(get_raw_tid(cpu_id)).unwrap()
209
}
210
211
pub fn get_raw_tid(cpu_id: usize) -> usize {
212
cpu_id + 1
Callers
1
list_active_threads
Method · 0.85
Calls
2
new
Function · 0.85
get_raw_tid
Function · 0.85
Tested by
no test coverage detected