diff options
Diffstat (limited to 'src/mongo/util/tick_source.h')
-rw-r--r-- | src/mongo/util/tick_source.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/mongo/util/tick_source.h b/src/mongo/util/tick_source.h index 90d952c4e4e..134f4d05737 100644 --- a/src/mongo/util/tick_source.h +++ b/src/mongo/util/tick_source.h @@ -32,23 +32,23 @@ namespace mongo { - /** - * Interface for objects generating ticks that roughly represents the passage of time. - */ - class TickSource { - public: - using Tick = int64_t; +/** + * Interface for objects generating ticks that roughly represents the passage of time. + */ +class TickSource { +public: + using Tick = int64_t; - virtual ~TickSource() = default; + virtual ~TickSource() = default; - /** - * Returns the current tick count from this source. - */ - virtual Tick getTicks() = 0; + /** + * Returns the current tick count from this source. + */ + virtual Tick getTicks() = 0; - /** - * Returns the conversion ratio from ticks to seconds. - */ - virtual Tick getTicksPerSecond() = 0; - }; -} // namespace mongo + /** + * Returns the conversion ratio from ticks to seconds. + */ + virtual Tick getTicksPerSecond() = 0; +}; +} // namespace mongo |