Merge pull request #3216

5c99608d Fix coverity issues in performance_tests/main.cpp (h908714124)
This commit is contained in:
Riccardo Spagni 2018-02-16 14:22:53 +01:00
commit 38f61ef8e2
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@ std::string glob_to_regex(const std::string &val)
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
TRY_ENTRY();
tools::on_startup(); tools::on_startup();
set_process_affinity(1); set_process_affinity(1);
set_thread_high_priority(); set_thread_high_priority();
@ -172,4 +173,5 @@ int main(int argc, char** argv)
std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl; std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl;
return 0; return 0;
CATCH_ENTRY_L0("main", 1);
} }