projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small fixes
[SXSI/TextCollection.git]
/
HeapProfiler.cpp
diff --git
a/HeapProfiler.cpp
b/HeapProfiler.cpp
index
d3c46f8
..
348fee6
100644
(file)
--- a/
HeapProfiler.cpp
+++ b/
HeapProfiler.cpp
@@
-37,6
+37,9
@@
void *(*HeapProfiler::old_realloc_hook)(void *, size_t, const void *);
unsigned long HeapProfiler::GetMaxHeapConsumption() {
return maxConsumption;
}
unsigned long HeapProfiler::GetMaxHeapConsumption() {
return maxConsumption;
}
+void HeapProfiler::ResetMaxHeapConsumption() {
+ maxConsumption = 0;
+}
unsigned long HeapProfiler::GetHeapConsumption() {
return consumption;
unsigned long HeapProfiler::GetHeapConsumption() {
return consumption;