diff options
author | Petr Ruzicka <petr.ruzicka@gmail.com> | 2017-06-27 13:22:40 +0200 |
---|---|---|
committer | Petr Ruzicka <petr.ruzicka@gmail.com> | 2017-06-27 13:22:40 +0200 |
commit | 3c02729730fa76dab14d7bb8bf9c734cc1b39ed6 (patch) | |
tree | 0b8342f0ec89b0187e3e7350e2af728372b9c74c /autoAdjust.hpp | |
parent | 21af59225d15eb7dcbb0321a92671bd5d6f9b95f (diff) | |
download | xmr-stak-3c02729730fa76dab14d7bb8bf9c734cc1b39ed6.zip xmr-stak-3c02729730fa76dab14d7bb8bf9c734cc1b39ed6.tar.gz |
Changing "Copy&Paste" output line to be easily parsable (showing BEGIN / END)
Diffstat (limited to 'autoAdjust.hpp')
-rw-r--r-- | autoAdjust.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/autoAdjust.hpp b/autoAdjust.hpp index c9ee9e6..93a88e8 100644 --- a/autoAdjust.hpp +++ b/autoAdjust.hpp @@ -38,10 +38,10 @@ public: printer::inst()->print_msg(L0, "Autoconf failed: L3 size sanity check failed - %u KB.", L3KB_size); printer::inst()->print_msg(L0, "Autoconf failed: Printing config for a single thread. Please try to add new ones until the hashrate slows down."); - printer::inst()->print_str("\n**************** Copy&Paste ****************\n\n"); + printer::inst()->print_str("\n**************** Copy&Paste BEGIN ****************\n\n"); printer::inst()->print_str("\"cpu_threads_conf\" :\n[\n"); printer::inst()->print_str(" { \"low_power_mode\" : false, \"no_prefetch\" : true, \"affine_to_cpu\" : false },\n"); - printer::inst()->print_str("],\n\n**************** Copy&Paste ****************\n"); + printer::inst()->print_str("],\n\n**************** Copy&Paste END ****************\n"); return; } @@ -52,7 +52,7 @@ public: printer::inst()->print_msg(L0, "Autoconf core count detected as %u on %s.", corecnt, linux_layout ? "Linux" : "Windows"); - printer::inst()->print_str("\n**************** Copy&Paste ****************\n\n"); + printer::inst()->print_str("\n**************** Copy&Paste BEGIN ****************\n\n"); printer::inst()->print_str("\"cpu_threads_conf\" :\n[\n"); uint32_t aff_id = 0; @@ -86,7 +86,7 @@ public: L3KB_size -= 2048; } - printer::inst()->print_str("],\n\n**************** Copy&Paste ****************\n"); + printer::inst()->print_str("],\n\n**************** Copy&Paste END ****************\n"); } private: |