update timing measurements to new api