pounder: need one io-update per batch
@@ -870,7 +870,7 @@ pub fn setup(
design_parameters::POUNDER_IO_UPDATE_DELAY,
);
- // Ensure that we have enough time for an IO-update every sample.
+ // Ensure that we have enough time for an IO-update every batch.
let sample_frequency = {
design_parameters::TIMER_FREQUENCY.to_Hz() as f32
/ sample_ticks as f32
@@ -878,7 +878,8 @@ pub fn setup(
let sample_period = 1.0 / sample_frequency;
assert!(
- sample_period > design_parameters::POUNDER_IO_UPDATE_DELAY
+ sample_period * batch_size as f32
+ > design_parameters::POUNDER_IO_UPDATE_DELAY
);
hrtimer
