Implement GetNanoseconds() with std::chrono.