Skip to content

Commit

Permalink
Removed wait() call at the end of benchmark on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjectPhysX committed Aug 18, 2024
1 parent 6bfc415 commit 7b264f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 7b264f9

Please sign in to comment.