Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-hypervisor/cloud-hypervisor
/ duration_ms
Function
duration_ms
scripts/ch-trace-visualiser.py:35–36 ·
view source on GitHub ↗
(start, end)
Source
from the content-addressed store, hash-verified
33
34
35
def
duration_ms(start, end):
36
return
(nano_time(end) - nano_time(start)) // 1000000
37
38
39
f = open(argv[1])
Callers
1
add_traced_block
Function · 0.85
Calls
1
nano_time
Function · 0.85
Tested by
no test coverage detected