From 02413b1aaccfbdd80094d05ce22f97882921663d Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Tue, 17 May 2016 04:09:20 -0300 Subject: Add KB to the memory output --- profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile.c b/profile.c index eea5392..1fa787b 100644 --- a/profile.c +++ b/profile.c @@ -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); -- cgit v1.2.3-70-g09d2