aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-11-14 15:13:43 +0200
committerRiccardo Spagni <ric@spagni.net>2017-11-14 15:13:44 +0200
commit8df6b010eb83a77c2249f385d56af9bbe7d42978 (patch)
treef39922662a020c8cb9626ef343e8bf4dfd15a397 /tests/performance_tests
parentMerge pull request #2691 (diff)
parentInitialize openssl on startup (diff)
downloadmonero-8df6b010eb83a77c2249f385d56af9bbe7d42978.tar.xz
Merge pull request #2696
937e7f8a Initialize openssl on startup (moneromooo-monero)
Diffstat (limited to 'tests/performance_tests')
-rw-r--r--tests/performance_tests/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp
index 3c0283eca..459eecba4 100644
--- a/tests/performance_tests/main.cpp
+++ b/tests/performance_tests/main.cpp
@@ -28,6 +28,7 @@
//
// Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
+#include "common/util.h"
#include "performance_tests.h"
#include "performance_utils.h"
@@ -48,6 +49,7 @@
int main(int argc, char** argv)
{
+ tools::on_startup();
set_process_affinity(1);
set_thread_high_priority();