diff options
author | Vladimir Kobal <vlad@prokk.net> | 2018-12-17 13:20:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-17 13:20:51 +0200 |
commit | 989604bada2a5d075d3025fe8a85b77cede9c586 (patch) | |
tree | 561b478e6efc6291574f88aa81c11c928fd90f20 /libnetdata | |
parent | 928d4c50f6174a170318625ec69bcbfe968797c0 (diff) |
Make units compliant with IEC standard (#4985)
* Change GB to GiB
* Change MB to MiB in apps.plugin
* Change MB to MiB in cgroups.plugin
* Change MB to MiB in freebsd.plugin and macos.plugin
* Change MB to MiB in proc.plugin
* Change KB to KiB
* Change kB to KiB for divisor 1024
* Fix units for memory.failcnt
* Fix other units
* Change CPU time percentage
* Change kilobytes to KiB in apps.plugin
* Small fixes
Diffstat (limited to 'libnetdata')
-rw-r--r-- | libnetdata/libnetdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetdata/libnetdata.c b/libnetdata/libnetdata.c index 53c580a9b6..095c38c25e 100644 --- a/libnetdata/libnetdata.c +++ b/libnetdata/libnetdata.c @@ -50,7 +50,7 @@ static inline void print_allocations(const char *file, const char *function, con type, size ); - fprintf(stderr, "%s iteration %zu MEMORY ALLOCATIONS: (%04lu@%-40.40s:%-40.40s): Allocated %zd KB (%+zd B), mmapped %zd KB (%+zd B): %s : malloc %zd (%+zd), calloc %zd (%+zd), realloc %zd (%+zd), strdup %zd (%+zd), free %zd (%+zd)\n", + fprintf(stderr, "%s iteration %zu MEMORY ALLOCATIONS: (%04lu@%-40.40s:%-40.40s): Allocated %zd KiB (%+zd B), mmapped %zd KiB (%+zd B): %s : malloc %zd (%+zd), calloc %zd (%+zd), realloc %zd (%+zd), strdup %zd (%+zd), free %zd (%+zd)\n", netdata_thread_tag(), log_thread_memory_allocations, line, file, function, |