The opcodes to start and stop internal clocks are:
clockoff
clockon
These clocks count CPU time. There are 32 independent clocks available. You can use the opcode readclock to read current values of a clock. See Time Reading for other timing opcodes.