|
wiRedPanda
Logic Circuit Simulator
|
RAII guard that disables the visual refresh throttle for the duration of its scope. More...
#include <SimulationThrottleDisabler.h>
Public Member Functions | |
| SimulationThrottleDisabler (Simulation *simulation) | |
| Disables the visual refresh throttle on simulation. | |
| ~SimulationThrottleDisabler () | |
| Re-enables the visual refresh throttle. | |
RAII guard that disables the visual refresh throttle for the duration of its scope.
The simulation throttle skips phases 3–4 (port-status updates) most ticks as a live-UI performance optimisation. Batch operations like the BeWavedDolphin waveform sweep must read exact output values after every step, so the throttle must not apply.
Example:
Definition at line 33 of file SimulationThrottleDisabler.h.
|
explicit |
Disables the visual refresh throttle on simulation.
Definition at line 9 of file SimulationThrottleDisabler.cpp.
References qCDebug.
| SimulationThrottleDisabler::~SimulationThrottleDisabler | ( | ) |
Re-enables the visual refresh throttle.
Definition at line 16 of file SimulationThrottleDisabler.cpp.
References qCDebug.