GPU-Kern tisch_last.py: Schattenlog des Laeufers unter <Live-Baum>\betrieb\scratch (runner.py: SCRATCH = betrieb/scratch)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 17:28:13 +01:00
co-authored by Claude Opus 5.5
parent 215bc13599
commit 67ef54cb19
+4 -2
View File
@@ -22,14 +22,16 @@ import numpy as np
HIER = os.path.dirname(os.path.abspath(__file__))
OHNE_FENSTER = 0x08000000 | 0x4000
SCHATTEN = r"D:\Projects\pokerfreak\scratch\shadow.jsonl"
# Live-Baum des Laeufers (02.12.: engine-lecks-angreifen-de7b88); Schattenlog und Laeufer-Sperre liegen unter betrieb\scratch
LIVE = r"D:\Projects\pokerfreak\.claude\worktrees\engine-lecks-angreifen-de7b88"
SCHATTEN = LIVE + r"\betrieb\scratch\shadow.jsonl"
def main():
ap = argparse.ArgumentParser()
ap.add_argument("--marke", required=True)
ap.add_argument("--dauer-s", type=float, default=600)
ap.add_argument("--schatten", default=SCHATTEN)
ap.add_argument("--schatten", default=SCHATTEN, help="Schattenlog des Laeufers (Live-Baum\\betrieb\\scratch\\shadow.jsonl)")
a = ap.parse_args()
ab = os.path.getsize(a.schatten) if os.path.exists(a.schatten) else 0
smi = subprocess.Popen(["nvidia-smi", "--query-gpu=utilization.gpu,memory.used,clocks.gr", "--format=csv,noheader,nounits", "-l", "1"],