v0.2.54..v0.2.55 changeset ScoreMatchesCmd.cpp
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/cmd/ScoreMatchesCmd.cpp b/hoot-core/src/main/cpp/hoot/core/cmd/ScoreMatchesCmd.cpp
index adea380..86c3080 100644
--- a/hoot-core/src/main/cpp/hoot/core/cmd/ScoreMatchesCmd.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/cmd/ScoreMatchesCmd.cpp
@@ -37,7 +37,6 @@
#include <hoot/core/scoring/MatchScoringMapPreparer.h>
#include <hoot/core/util/Log.h>
#include <hoot/core/schema/MetadataTags.h>
-#include <hoot/core/elements/OsmUtils.h>
#include <hoot/core/util/Settings.h>
#include <hoot/core/io/IoUtils.h>
#include <hoot/core/visitors/CountManualMatchesVisitor.h>
@@ -73,6 +72,9 @@ public:
virtual int runSimple(QStringList& args) override
{
+ QElapsedTimer timer;
+ timer.start();
+
bool showConfusion = false;
if (args.contains("--confusion"))
{
@@ -139,6 +141,9 @@ public:
cout << result;
}
+ LOG_STATUS(
+ "Match scoring ran in " << StringUtils::millisecondsToDhms(timer.elapsed()) << " total.");
+
return 0;
}