13#if !defined(__has_feature)
14 #define __has_feature(x) 0
18#if __has_feature(memory_sanitizer)
21 clock_gettime(CLOCK_MONOTONIC, &tp);
22 return tp.tv_sec * 1e9 + tp.tv_nsec;
24 auto now = std::chrono::steady_clock::now();
25 std::chrono::duration<double, std::nano> ns = now.time_since_epoch();