From 7b264f99af2eff6e64d082b7024b1e29223e3f21 Mon Sep 17 00:00:00 2001 From: "Dr. Moritz Lehmann" Date: Sun, 18 Aug 2024 11:35:16 +0200 Subject: [PATCH] Removed wait() call at the end of benchmark on Linux --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index fc5c188..cbe9412 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -186,9 +186,13 @@ int main(int argc, char* argv[]) { } else { for(uint i=0u; i<(uint)devices.size(); i++) benchmark_device(devices[i]); } +#ifdef _WIN32 println("|-----------------------------------------------------------------------------|"); println("| Done. Press Enter to exit. |"); println("'-----------------------------------------------------------------------------'"); wait(); +#else // Linux + println("'-----------------------------------------------------------------------------'"); +#endif // Linux return 0; } \ No newline at end of file