Vixen
dd8b0a81

Core · guide

Recording a CPU trace

The profiler is compiled into every build and switched off; one flag turns it on and a second writes the run out as a file that opens in Perfetto.

Edit this page on GitHub

Documents

Next

  • Timing the frame on the GPU — The render graph brackets every pass it runs with a named scope, so a document that adds a node gets a bar in the timeline without anybody opting in — and an optional sink is what keeps that free when nobody is measuring.
  • Diagnostic overlays and the console — One flag puts the frame-stats panel, the console, the log tail and every subsystem's debug lines on the screen of a running game.
  • Host logging and vixen.log.yaml — One filter, several sinks, and a file that turns one subsystem up without a rebuild — plus the two lines in the log that say whether that file was read at all.