Why is an operation not interrupted directly when the measurement period is over?
An operation will continue to be run even when the measurement period is over. This is done in order to ensure that each operation that is started inside the measurement period will contribute to the measurement period, but only as much as is inside it. So an operation that is started but not completed inside will contribute between 0 and 1, depending on how much of the execution time was inside the measurement period. In order to not give any advantage for executing outside the measurement period, the harness will continue to execute threads until all operations started inside the measurement period are completed.