0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

nicer messages

This commit is contained in:
Eliot Horowitz 2009-01-12 10:30:04 -05:00
parent 4b040c0ceb
commit 67419db7d1

View File

@ -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;
}