diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-06-08 02:03:31 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-06-09 02:05:34 +0900 |
| commit | 99cd73c0926f0c07d27777fde2f15816e8040030 (patch) | |
| tree | 7c6a077b0590c49029c76686afb9c2ab1d00bb6d /src/ConsoleStatCalc.h | |
| parent | 2874f6ab095a30a4d297cdc85fa3730bec41b1c2 (diff) | |
Replace timer facility with chrono lib
Diffstat (limited to 'src/ConsoleStatCalc.h')
| -rw-r--r-- | src/ConsoleStatCalc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ConsoleStatCalc.h b/src/ConsoleStatCalc.h index b0606a86..f3faaaa6 100644 --- a/src/ConsoleStatCalc.h +++ b/src/ConsoleStatCalc.h @@ -61,7 +61,7 @@ private: Timer lastSummaryNotified_; - time_t summaryInterval_; + std::chrono::seconds summaryInterval_; std::unique_ptr<SizeFormatter> sizeFormatter_; bool readoutVisibility_; @@ -69,7 +69,7 @@ private: bool isTTY_; bool colorOutput_; public: - ConsoleStatCalc(time_t summaryInterval, bool colorOutput = true, + ConsoleStatCalc(std::chrono::seconds summaryInterval, bool colorOutput = true, bool humanReadable = true); virtual ~ConsoleStatCalc() {} |
