Use normalize for load average values.

This commit is contained in:
XMRig
2019-12-04 10:25:26 +07:00
parent bc4e456ac1
commit 9200b3f7e3
4 changed files with 26 additions and 11 deletions

View File

@@ -48,6 +48,8 @@ public:
static bool get(const char *fileName, rapidjson::Document &doc);
static bool save(const char *fileName, const rapidjson::Document &doc);
static rapidjson::Value normalize(double value, bool zero);
};