The open source OpenXR runtime
0
fork

Configure Feed

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

ipc: Port to u_logging.

authored by

Lubosz Sarnecki and committed by
Jakob Bornecrantz
1038145f 4acab28f

+2 -2
+1 -1
src/xrt/ipc/client/ipc_client_compositor.c
··· 442 442 diff_ns = now_ns - then_ns; 443 443 uint64_t ms100 = diff_ns / (1000 * 10); 444 444 445 - fprintf(stderr, "%s: Slept %i.%02ims\n", __func__, (int)ms100 / 100, 445 + U_LOG_D("%s: Slept %i.%02ims", __func__, (int)ms100 / 100, 446 446 (int)ms100 % 100); 447 447 #endif 448 448
+1 -1
src/xrt/ipc/shared/proto.py
··· 359 359 f.write("\n\t\treturn ret;\n") 360 360 f.write("\t}\n") 361 361 f.write('''\tdefault: 362 - \t\tprintf("UNHANDLED IPC MESSAGE! %d\\n", *ipc_command); 362 + \t\tU_LOG_E("UNHANDLED IPC MESSAGE! %d", *ipc_command); 363 363 \t\treturn XRT_ERROR_IPC_FAILURE; 364 364 \t} 365 365 }