Prevent divide-by-zero when timing