code wiki / (root) / nx_gpu_capture_lib.nx

nx_gpu_capture_lib.nx

buildroot/runtime/nx_gpu_capture_lib.nx

4702 B90 linesdepth 1pulls 1 transitivereach 4 importersview sourcekind librarytopic gpu
docsdependenciesstructsconstsfunctions

about

Canonical JSON tuple: ["NXGT1","epoch","world-and-cast-render-pass",[nine counters],[[frame,"start","end","duration"],...]] Counter order: observed, unavailable, attempted, completed, busy, failed, cancelled, inflight, result_dropped. Sender sorts completed records by frame. No heap allocation or recursion; caller supplies policy and scratch.

dependencies 1 imports · 1 importers

nx_gpu_timestamp_lib.nx nx_gpu_capture_lib.nx nx_gpu_capture_store_lib.nx

imports: nx_gpu_timestamp_lib.nx

imported by: nx_gpu_capture_store_lib.nx

structs

none

consts

5const GTC_COUNTERS: i64=9
6const GTC_SAFE_INTEGER: i64=9007199254740991
7const GTC_EPOCH_MAX: i64=64
8const GTC_SCHEMA: i64=-1
9const GTC_COVERAGE: i64=-2
10const GTC_INTERVAL: i64=-3
11const GTC_FRAME_ORDER: i64=-4
12const GTC_LIMIT: i64=-5

functions

13func gtc_ws(b: *u8,n: i64,p: *i64) -> i64
16func gtc_ch(b: *u8,n: i64,p: *i64,c: i64) -> i64
called by 2: gtc_stringgtc_validate calls 1: gtc_ws
20func gtc_string(b: *u8,n: i64,p: *i64,span: *i64) -> i64
called by 2: gtc_literalgtc_validate calls 1: gtc_ch
24func gtc_literal(b: *u8,n: i64,p: *i64,span: *i64,lit: *u8,ln: i64) -> i64
called by 1: gtc_validate calls 1: gtc_string
28func gtc_integer(b: *u8,n: i64,p: *i64,pair: *i64) -> i64
called by 1: gtc_validate calls 2: gtc_wsgts_u64
38func gtc_validate(b: *u8,n: i64,max_rows: i64,scratch: *i64) -> i64