ProfilerConfig.jsonc 856 B

12345678910111213141516171819202122232425262728
  1. {
  2. // Enable profiling (Only available on a profiling enabled builds)
  3. "enabled": true,
  4. // Set profile file dump location, if blank file dumping disabled. (e.g. `ProfileDump.csv`)
  5. "dump_path": "",
  6. // Update rate for profiler UI, in hertz. -1 updates every time a frame is issued
  7. "update_rate": 4.0,
  8. // Set how long to keep profiling data in seconds, reduce if profiling is taking too much RAM
  9. "history": 5.0,
  10. // Set the maximum profiling level. Higher values may cause a heavy load on your system but will allow you to profile in more detail
  11. "max_level": 0,
  12. // Sets the maximum number of flags to keep
  13. "max_flags": 1000,
  14. // Keyboard Controls
  15. // https://github.com/opentk/opentk/blob/master/src/OpenTK/Input/Key.cs
  16. "controls": {
  17. "buttons": {
  18. // Show/Hide the profiler
  19. "toggle_profiler": "F2"
  20. }
  21. }
  22. }