preparing change in clock handling

bookkeeping will be done in ticks rather than microseconds