From e2099f9cdd8d46f1bdc0ffc0a046a168ad9c1d9d Mon Sep 17 00:00:00 2001 From: michelerenzullo Date: Fri, 19 Mar 2021 02:25:25 +0100 Subject: [PATCH] clean --- XMPConverter/XMPconverter.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/XMPConverter/XMPconverter.cpp b/XMPConverter/XMPconverter.cpp index f740590..f3e8d84 100644 --- a/XMPConverter/XMPconverter.cpp +++ b/XMPConverter/XMPconverter.cpp @@ -1,6 +1,5 @@ #include "optparse.h" #include "lightMD5.h" -#include #include #include #include @@ -541,11 +540,7 @@ int main(int argc, char** argv) { } string ext[] = { "xmp","cube" }; - auto t1 = std::chrono::high_resolution_clock::now(); - //tbb::parallel_for_each(inputFiles.begin(), inputFiles.end(), [&](string& inputFile) { for_each(std::execution::par, inputFiles.begin(), inputFiles.end(), [&](string& inputFile) { - //#pragma omp parallel for - //for (const auto& inputFile : inputFiles) { if (fileExists(inputFile)) { string filecheck = inputFile.substr(inputFile.find_last_of(".") + 1); @@ -566,7 +561,6 @@ int main(int argc, char** argv) { } } }); - printf("\ntime: %lld\n", std::chrono::duration_cast(std::chrono::high_resolution_clock::now() - t1).count()); } else printf("missing input"); printf("\n");