code wiki / (root) / nx_gpu_capture_http_lib.nx

nx_gpu_capture_http_lib.nx

buildroot/runtime/nx_gpu_capture_http_lib.nx

2627 B41 linesdepth 7pulls 17 transitivereach 2 importersview sourcekind librarytopic gpu
docsdependenciesstructsconstsfunctions

about

nx_gpu_capture_http_lib.nx -- Handles HTTP requests for GPU capture operations, mapping error codes to JSON responses and sending them via the HTTP server.

dependencies 2 imports · 2 importers

nx_gpu_capture_store_lib.nx nx_http_server.nx nx_gpu_capture_http_lib.nx nx_world_telemetry.nx nx_world_telemetry_gpu_candidate.n

imports: nx_gpu_capture_store_lib.nxnx_http_server.nx

imported by: nx_world_telemetry.nxnx_world_telemetry_gpu_candidate.nx

structs

none

consts

3const GCH_NO_CONTENT:i64=204
4const GCH_BAD_REQUEST:i64=400
5const GCH_CONFLICT:i64=409
6const GCH_TOO_LARGE:i64=413
7const GCH_UNAVAILABLE:i64=503

functions

8func gch_status(rc:i64)->i64
called by 2: gch_errorgch_handle
15func gch_error(rc:i64)->*u8
called by 1: gch_handle calls 1: gch_status
24func gch_handle(cfd:i64,prefix:*u8,query:*u8,qn:i64,body:*u8,bn:i64,max_body:i64,max_rows:i64)->i64
35func gch_method(cfd:i64)->i64