mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
nicer messages
This commit is contained in:
parent
4b040c0ceb
commit
67419db7d1
@ -88,10 +88,12 @@ namespace import {
|
||||
read += o.objsize();
|
||||
data += o.objsize();
|
||||
|
||||
if ( ! ( ++num % 100 ) )
|
||||
cout << "read " << read << "/" << mmf.length() << endl;
|
||||
if ( ! ( ++num % 1000 ) )
|
||||
cout << "read " << read << "/" << mmf.length() << " bytes so far. " << num << " objects" << endl;
|
||||
}
|
||||
|
||||
cout << "\t " << num << " objects" << endl;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user