diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2016-05-17 04:09:20 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2016-05-17 04:09:20 -0300 |
commit | 02413b1aaccfbdd80094d05ce22f97882921663d (patch) | |
tree | d21f8aa7e56268552a150b5935b8f984f30c118f | |
parent | f7e0cad06fbabec0ea1a83d8913b6c213dc62c68 (diff) | |
download | profile-02413b1aaccfbdd80094d05ce22f97882921663d.tar.gz |
Add KB to the memory output
-rw-r--r-- | profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ int main(int argc, char **argv) printf("user CPU time used: %lus %luus\n", usage.ru_utime.tv_sec, usage.ru_utime.tv_usec); printf("system CPU time used: %lus %luus\n", usage.ru_stime.tv_sec, usage.ru_stime.tv_usec); - printf("residet set size used: %ld\n", usage.ru_maxrss); + printf("residet set size used: %ldKB\n", usage.ru_maxrss); printf("page reclaims (soft page faults): %ld\n", usage.ru_minflt); printf("page faults (hard page faults): %ld\n", usage.ru_majflt); printf("block input operations: %ld\n", usage.ru_inblock); |