diff --git a/hoot-core/src/main/cpp/hoot/core/cmd/DiffCmd.cpp b/hoot-core/src/main/cpp/hoot/core/cmd/DiffCmd.cpp
index fa50385..083e711 100644
--- a/hoot-core/src/main/cpp/hoot/core/cmd/DiffCmd.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/cmd/DiffCmd.cpp
@@ -36,11 +36,14 @@
#include <hoot/core/util/MapProjector.h>
#include <hoot/core/util/Settings.h>
#include <hoot/core/ops/DuplicateNodeRemover.h>
+#include <hoot/core/util/StringUtils.h>
using namespace std;
+// Qt
#include <QDir>
#include <QFileInfo>
+#include <QElapsedTimer>
namespace hoot
{
@@ -60,6 +63,9 @@ public:
virtual int runSimple(QStringList& args) override
{
+ QElapsedTimer timer;
+ timer.start();
+
bool ignoreUuid = false;
bool useDateTime = false;
bool setErrorLimit = false;
@@ -134,6 +140,10 @@ public:
result = 0;
}
+ LOG_STATUS(
+ "Map difference calculated in " << StringUtils::millisecondsToDhms(timer.elapsed()) <<
+ " total.");
+
return result;
}