Support clocks for sync objects

A race still may happen after a few test set runs (in case the same slab object will be used), since completion variables are not handled yet.
this whole function must be under #ifdef KT_COLLECT_STATS
it must be absolute no-op in non-KT_COLLECT_STATS build