nx_gpu_timestamp_lib.nx
buildroot/runtime/nx_gpu_timestamp_lib.nx
about
Lossless WebGPU timestamp transport: canonical decimal uint64, two unsigned 32-bit limbs.
Values are raw device-clock nanoseconds, never host-clock timestamps or GPU submission time.
dependencies 0 imports · 1 importers
imports: none
imported by: nx_gpu_capture_lib.nx
structs
| none |
consts
| 3 | const GTS_LIMB_BASE: i64 = 4294967296 |
| 4 | const GTS_LIMB_MAX: i64 = GTS_LIMB_BASE-1 |
| 5 | const GTS_DECIMAL_MAX: i64 = 20 |
functions
| 7 | func gts_u64(b: *u8, n: i64, out: *i64) -> i64 |
| 24 | func gts_interval(start: *u8, sn: i64, finish: *u8, fn: i64, duration: *u8, dn: i64, scratch: *i64) -> i64 |