diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-10-05 15:09:18 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-10-05 15:09:18 -0400 |
commit | 27fd0a7a9fd84b1965f733848e9c38072ee8f7ee (patch) | |
tree | de4ba8e7ace434541fee017c0a65c382caf6fae4 /tools/tool.h | |
parent | 6b79e14d967d05c3cbb70bb1b597fba6b8666bf8 (diff) | |
download | mongo-27fd0a7a9fd84b1965f733848e9c38072ee8f7ee.tar.gz |
more ProgressMeter to public place
Diffstat (limited to 'tools/tool.h')
-rw-r--r-- | tools/tool.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/tool.h b/tools/tool.h index b7fec8ec44c..a398ed5a6d8 100644 --- a/tools/tool.h +++ b/tools/tool.h @@ -84,27 +84,4 @@ namespace mongo { }; - class ProgressMeter { - public: - ProgressMeter( long long total , int secondsBetween = 3 ); - - void hit( int n = 1 ); - - long long done(){ - return _done; - } - - long long hits(){ - return _hits; - } - - private: - - long long _total; - int _secondsBetween; - - long long _done; - long long _hits; - int _lastTime; - }; } |