summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-09-29 22:25:56 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-09-30 23:46:08 +0200
commitd80cc9061d2459130dae6608cb29765055c44906 (patch)
tree084de13c85c62c73aaa43d343cb37ccccf0d5dc6 /xmrstak/backend/cpu
parenta3c034e46ab933fe07d0c6e829074d79866dd4b5 (diff)
downloadxmr-stak-d80cc9061d2459130dae6608cb29765055c44906.zip
xmr-stak-d80cc9061d2459130dae6608cb29765055c44906.tar.gz
rename `Params` to `params`
Diffstat (limited to 'xmrstak/backend/cpu')
-rw-r--r--xmrstak/backend/cpu/autoAdjust.hpp4
-rw-r--r--xmrstak/backend/cpu/autoAdjustHwloc.hpp4
-rw-r--r--xmrstak/backend/cpu/jconf.hpp2
-rw-r--r--xmrstak/backend/cpu/minethd.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/xmrstak/backend/cpu/autoAdjust.hpp b/xmrstak/backend/cpu/autoAdjust.hpp
index 639c27b..294bc6f 100644
--- a/xmrstak/backend/cpu/autoAdjust.hpp
+++ b/xmrstak/backend/cpu/autoAdjust.hpp
@@ -100,8 +100,8 @@ public:
}
configTpl.replace("CPUCONFIG",conf);
- configTpl.write(Params::inst().configFileCPU);
- printer::inst()->print_msg(L0, "CPU configuration stored in file '%s'", Params::inst().configFileCPU.c_str());
+ configTpl.write(params::inst().configFileCPU);
+ printer::inst()->print_msg(L0, "CPU configuration stored in file '%s'", params::inst().configFileCPU.c_str());
return true;
}
diff --git a/xmrstak/backend/cpu/autoAdjustHwloc.hpp b/xmrstak/backend/cpu/autoAdjustHwloc.hpp
index 8431956..ad3b863 100644
--- a/xmrstak/backend/cpu/autoAdjustHwloc.hpp
+++ b/xmrstak/backend/cpu/autoAdjustHwloc.hpp
@@ -77,8 +77,8 @@ public:
}
configTpl.replace("CPUCONFIG",conf);
- configTpl.write(Params::inst().configFileCPU);
- printer::inst()->print_msg(L0, "CPU configuration stored in file '%s'", Params::inst().configFileCPU.c_str());
+ configTpl.write(params::inst().configFileCPU);
+ printer::inst()->print_msg(L0, "CPU configuration stored in file '%s'", params::inst().configFileCPU.c_str());
/* Destroy topology object. */
hwloc_topology_destroy(topology);
diff --git a/xmrstak/backend/cpu/jconf.hpp b/xmrstak/backend/cpu/jconf.hpp
index 03dfcc1..3c7da49 100644
--- a/xmrstak/backend/cpu/jconf.hpp
+++ b/xmrstak/backend/cpu/jconf.hpp
@@ -19,7 +19,7 @@ public:
return oInst;
};
- bool parse_config(const char* sFilename = Params::inst().configFileCPU.c_str());
+ bool parse_config(const char* sFilename = params::inst().configFileCPU.c_str());
struct thd_cfg {
bool bDoubleMode;
diff --git a/xmrstak/backend/cpu/minethd.cpp b/xmrstak/backend/cpu/minethd.cpp
index d786bee..b02540a 100644
--- a/xmrstak/backend/cpu/minethd.cpp
+++ b/xmrstak/backend/cpu/minethd.cpp
@@ -251,7 +251,7 @@ std::vector<iBackend*> minethd::thread_starter(uint32_t threadOffset, miner_work
{
std::vector<iBackend*> pvThreads;
- if(!configEditor::file_exist(Params::inst().configFileCPU))
+ if(!configEditor::file_exist(params::inst().configFileCPU))
{
autoAdjust adjust;
if(!adjust.printConfig())
OpenPOWER on IntegriCloud