The comment here is not correct, you wait at most 100 ms, so the min-execution time is 10 Hz, the *real* execution time is at the control update rate, so 100 Hz AC, 200 Hz PX4.