housekeeping: separated out the chrono utility

This commit is contained in:
Jean-Francois Dockes
2015-10-14 09:18:26 +02:00
parent 3b823d401a
commit 63802a4005
18 changed files with 376 additions and 201 deletions
+2 -1
View File
@@ -39,6 +39,7 @@
#include "debuglog.h"
#include "internfile.h"
#include "smallut.h"
#include "chrono.h"
#include "wipedir.h"
#include "fileudi.h"
#include "cancelcheck.h"
@@ -239,7 +240,7 @@ bool FsIndexer::index(int flags)
}
m_config->storeMissingHelperDesc(missing);
}
LOGINFO(("fsindexer index time: %d mS\n", chron.ms()));
LOGINFO(("fsindexer index time: %d mS\n", chron.millis()));
return true;
}
+1
View File
@@ -40,6 +40,7 @@ using namespace std;
#include "rclinit.h"
#include "indexer.h"
#include "smallut.h"
#include "chrono.h"
#include "pathut.h"
#include "rclmon.h"
#include "x11mon.h"