MCPcopy 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
35def duration_ms(start, end):
36 return (nano_time(end) - nano_time(start)) // 1000000
37
38
39f = open(argv[1])

Callers 1

add_traced_blockFunction · 0.85

Calls 1

nano_timeFunction · 0.85

Tested by

no test coverage detected