projects
/
sdk
/
tools
/
heaptrack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e40de8b
)
simplify
author
Milian Wolff
<mail@milianw.de>
Fri, 31 May 2013 16:07:53 +0000
(18:07 +0200)
committer
Milian Wolff
<mail@milianw.de>
Fri, 31 May 2013 16:07:53 +0000
(18:07 +0200)
dumpmallocinfo.cpp
patch
|
blob
|
history
diff --git
a/dumpmallocinfo.cpp
b/dumpmallocinfo.cpp
index
6a5e453
..
f9f3029
100644
(file)
--- a/
dumpmallocinfo.cpp
+++ b/
dumpmallocinfo.cpp
@@
-50,7
+50,7
@@
void dump_malloc_info(FILE* output)
///TODO: the above does not contain information about what is actually in use :-/
/// fallback to int-based interface until this gets added upstream
auto info = mallinfo();
- fprintf(output, "<mallinfo used=\"%d\" mmap=\"%d\" kept=\"%d\"
/>\n",
+ fprintf(output, "<mallinfo used=\"%d\" mmap=\"%d\" kept=\"%d\"/>\n",
info.uordblks, info.hblkhd, info.keepcost);
fprintf(output, "</snapshot>\n");
}