test time and frame calculations