diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 00:22:50 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 10:56:02 -0400 |
commit | 9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch) | |
tree | 3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/util/system_tick_source.h | |
parent | 01965cf52bce6976637ecb8f4a622aeb05ab256a (diff) | |
download | mongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz |
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/util/system_tick_source.h')
-rw-r--r-- | src/mongo/util/system_tick_source.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/mongo/util/system_tick_source.h b/src/mongo/util/system_tick_source.h index eec4a2cc1a7..6e331dd9904 100644 --- a/src/mongo/util/system_tick_source.h +++ b/src/mongo/util/system_tick_source.h @@ -32,23 +32,23 @@ namespace mongo { - /** - * Tick source based on platform specific clock ticks. Should be of reasonably high - * performance. The maximum span measurable by the counter and convertible to microseconds - * is about 10 trillion ticks. As long as there are fewer than 100 ticks per nanosecond, - * timer durations of 2.5 years will be supported. Since a typical tick duration will be - * under 10 per nanosecond, if not below 1 per nanosecond, this should not be an issue. - */ - class SystemTickSource final : public TickSource { - public: - TickSource::Tick getTicks() override; +/** + * Tick source based on platform specific clock ticks. Should be of reasonably high + * performance. The maximum span measurable by the counter and convertible to microseconds + * is about 10 trillion ticks. As long as there are fewer than 100 ticks per nanosecond, + * timer durations of 2.5 years will be supported. Since a typical tick duration will be + * under 10 per nanosecond, if not below 1 per nanosecond, this should not be an issue. + */ +class SystemTickSource final : public TickSource { +public: + TickSource::Tick getTicks() override; - TickSource::Tick getTicksPerSecond() override; + TickSource::Tick getTicksPerSecond() override; - /** - * Gets the singleton instance of SystemTickSource. Should not be called before - * the global initializers are done. - */ - static SystemTickSource* get(); - }; -} // namespace mongo + /** + * Gets the singleton instance of SystemTickSource. Should not be called before + * the global initializers are done. + */ + static SystemTickSource* get(); +}; +} // namespace mongo |