The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

aux/util: only do tracing things if XRT_FEATURE_TRACING is enabled

+2
+2
src/xrt/auxiliary/util/u_timing_render.c
··· 350 350 do_iir_filter(&rt->app.draw_time_ns, IIR_ALPHA_LT, IIR_ALPHA_GT, diff_draw_ns); 351 351 352 352 // Trace the data. 353 + #ifdef XRT_FEATURE_TRACING 353 354 #define TE_BEG(TRACK, TIME, NAME) U_TRACE_EVENT_BEGIN_ON_TRACK_DATA(timing, TRACK, TIME, NAME, PERCETTO_I(f->frame_id)) 354 355 #define TE_END(TRACK, TIME) U_TRACE_EVENT_END_ON_TRACK(timing, TRACK, TIME) 355 356 ··· 367 368 368 369 #undef TE_BEG 369 370 #undef TE_END 371 + #endif 370 372 371 373 // Reset the frame. 372 374 f->state = U_RT_READY;