OverviewFilesCommitsIssuesDocsReleasesPeers

hyper-tps / tools / perf / godot-nsys

11 lines · text ref:
#!/bin/bash
# Engine wrapper for an IN-GAME capture of the real game the user plays:
#   HYPER_TPS_GODOT=tools/perf/godot-nsys scripts/dev-run.sh
# LAUNCHES under Nsight Systems WITHOUT recording (session "ingame"). Recording is started
# and stopped from outside -- tools/perf/ingame-auto.sh -- so the report is written while the
# game still runs; a force quit afterwards cannot lose it (two captures were lost that way).
REPO="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
HYPER_TPS_GODOT= . "$REPO/scripts/engine.sh"
exec nsys launch --session-new=ingame -t vulkan,vulkan-annotations,osrt --vulkan-gpu-workload=individual \
  "$HYPER_TPS_ENGINE_ROOT/bin/godot.linuxbsd.editor.x86_64" "$@" --gpu-markers