summaryrefslogtreecommitdiff
path: root/tools/tool.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-10-05 15:09:18 -0400
committerEliot Horowitz <eliot@10gen.com>2009-10-05 15:09:18 -0400
commit27fd0a7a9fd84b1965f733848e9c38072ee8f7ee (patch)
treede4ba8e7ace434541fee017c0a65c382caf6fae4 /tools/tool.h
parent6b79e14d967d05c3cbb70bb1b597fba6b8666bf8 (diff)
downloadmongo-27fd0a7a9fd84b1965f733848e9c38072ee8f7ee.tar.gz
more ProgressMeter to public place
Diffstat (limited to 'tools/tool.h')
-rw-r--r--tools/tool.h23
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;
- };
}