kempnerpulse.reader.replay¶
Layer 1 (Read) — replay backend.
Replays a saved dcgmi dmon capture as a deterministic RawRecord stream,
so the higher layers can be exercised in tests and CI without GPU hardware.
Ticks are split on a repeated GPU <id> row (the same boundary the live
reader uses) and each is stamped with a synthetic, monotonically increasing
timestamp so replays are reproducible.
Functions
|
Split a multi-tick |
Classes
Replays a captured |
- kempnerpulse.reader.replay.split_dmon_ticks(text)[source]¶
Split a multi-tick
dcgmi dmoncapture into per-tick text blocks.
- class kempnerpulse.reader.replay.ReplayBackend[source]¶
Bases:
objectReplays a captured
dcgmi dmonfile as aRawRecordstream.- open(config)[source]¶
- Parameters:
config (ReaderConfig)
- Return type:
None
- property caps: BackendCaps¶