The open source OpenXR runtime
0
fork

Configure Feed

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

st/gui: Add some tracing

+9
+9
src/xrt/state_trackers/gui/gui_prober.c
··· 12 12 #include "xrt/xrt_instance.h" 13 13 14 14 #include "util/u_time.h" 15 + #include "util/u_trace_marker.h" 15 16 16 17 #include "gui_common.h" 17 18 ··· 39 40 int 40 41 gui_prober_init(struct gui_program *p) 41 42 { 43 + XRT_TRACE_MARKER(); 44 + 42 45 xrt_result_t xret; 43 46 44 47 // Initialize the prober. ··· 67 70 int 68 71 gui_prober_select(struct gui_program *p) 69 72 { 73 + XRT_TRACE_MARKER(); 74 + 70 75 xrt_result_t xret = xrt_instance_create_system(p->instance, &p->xsysd, &p->xso, NULL); 71 76 if (xret != XRT_SUCCESS) { 72 77 return -1; ··· 78 83 void 79 84 gui_prober_update(struct gui_program *p) 80 85 { 86 + XRT_TRACE_MARKER(); 87 + 81 88 if (!p->xsysd) { 82 89 return; 83 90 } ··· 93 100 void 94 101 gui_prober_teardown(struct gui_program *p) 95 102 { 103 + XRT_TRACE_MARKER(); 104 + 96 105 xrt_space_overseer_destroy(&p->xso); 97 106 xrt_system_devices_destroy(&p->xsysd); 98 107