debug stats: change timespec to number of ns in a single uint64_t (no race when reading)