3 ms·
std::datetime::timepoint<std::datetime::highres> ? Assuming you'd want to keep a separate datetime namespace. Neither ::highres nor ::high_resolution_clock rea
by blattimwind 8y ago
std::datetime::timepoint<std::datetime::highres> ? Assuming you'd want to keep a separate datetime namespace.
Neither ::highres nor ::high_resolution_clock really is a descriptive name though, because it doesn't really describe what it means. What is a "high resolution clock" here? Does it mean µs resolution? Nanoseconds (as some "newer" Linux APIs support)? What about accuracy?
"chrono" is one of these "sounds cool but is kind of a weird word to use" things.