Use normalize for load average values.

This commit is contained in:
XMRig 2019-12-04 10:25:26 +07:00
parent 901f1a7ab1
commit a4d35065d9
No known key found for this signature in database
GPG key ID: 446A53638BE94409
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);
};