make spanclock_measure part of the formal api