mesa_frames.DataCollector.flush#
- DataCollector.flush() None#
Persist all collected data to configured backend.
After flushing data optionally clears in-memory data buffer if reset_memory is True (default behavior).
use this method to save collected data.
Examples
>>> datacollector.flush() >>> # Data is saved externally and in-memory buffers are cleared if configured