Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-hypervisor/cloud-hypervisor
/ nano_time
Function
nano_time
scripts/ch-trace-visualiser.py:23–24 ·
view source on GitHub ↗
(duration)
Source
from the content-addressed store, hash-verified
21
22
23
def
nano_time(duration):
24
return
(duration[
"secs"
] * 10 ** 9) + duration[
"nanos"
]
25
26
27
def
duration_to_px_x(start):
Callers
4
duration_to_px_x
Function · 0.85
duration_to_px_width
Function · 0.85
duration_ms
Function · 0.85
ch-trace-visualiser.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected