*! version 1.2.4 20261103 github.com/mdroste/stata-ctools *! ctools: seconds since the previous lap of a caller-local wall clock * _ctools_lap stores the elapsed seconds in the * caller's local and restarts the clock, a local the caller starts * with _ctools_clock and passes back expanded: * _ctools_clock __ct_lap * ... * _ctools_lap __time_setup __ct_lap `__ct_lap' program define _ctools_lap version 14.1 args target clock start quietly _ctools_clock now c_local `target' = `now' - `start' c_local `clock' `now' end