Add basic timing support for CPU back end.