Review this C++ loop that samples a signal at every 0.1s from 0 to a duration and counts the samples.
For duration = 1.0, the team expects 11 samples (0.0 .. 1.0).
duration = 1.0