add \time to cpp