Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ is_vtune_available
Function
is_vtune_available
tests/all/cli_tests.rs:3089–3091 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3087
3088
#[cfg(target_arch =
"x86_64"
)]
3089
fn is_vtune_available() -> bool {
3090
Command::new(
"vtune"
).arg(
"-version"
).output().is_ok()
3091
}
3092
3093
#[test]
3094
fn profile_guest() -> Result<()> {
Callers
1
profile_with_vtune
Function · 0.85
Calls
4
is_ok
Method · 0.80
output
Method · 0.80
new
Function · 0.50
arg
Method · 0.45
Tested by
no test coverage detected