TS_INDEX_COUNT
index &= (TS_INDEX_COUNT - 1);
bigtime_t realtime[TS_INDEX_COUNT];
bigtime_t perftime[TS_INDEX_COUNT];
float drift[TS_INDEX_COUNT];