Only log the period mean if we have samples