Move ChromeTracing in its own file, and add tracing support for VR server (App_SharedMemoryPhysics_VR)

Add a bit of extra sleep in PhysicsServer thread, to make rendering smoother.
This commit is contained in:
erwincoumans
2017-01-29 20:59:47 -08:00
parent 446cb77a5e
commit 26a34e3cda
11 changed files with 333 additions and 266 deletions

View File

@@ -0,0 +1,9 @@
#ifndef B3_CHROME_TRACE_UTIL_H
#define B3_CHROME_TRACE_UTIL_H
void b3ChromeUtilsStartTimings();
void b3ChromeUtilsStopTimingsAndWriteJsonFile();
void b3ChromeUtilsEnableProfiling();
#endif//B3_CHROME_TRACE_UTIL_H