diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-07-16 19:01:43 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-07-17 17:15:03 -0700 |
| commit | a1e4814a27713bd08b836cbae2afa9c858bfd4e4 (patch) | |
| tree | a68e5fe0195dc0296cf70ee94eaa124c64409473 /shared-module/memorymonitor/__init__.c | |
| parent | 518d909b2c20aed5b3ff1ca849731cdadea4ba4c (diff) | |
Get AllocationAlarm working
Diffstat (limited to 'shared-module/memorymonitor/__init__.c')
| -rw-r--r-- | shared-module/memorymonitor/__init__.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared-module/memorymonitor/__init__.c b/shared-module/memorymonitor/__init__.c index 4c24c2587..6cb424153 100644 --- a/shared-module/memorymonitor/__init__.c +++ b/shared-module/memorymonitor/__init__.c @@ -32,3 +32,8 @@ void memorymonitor_track_allocation(size_t block_count) { memorymonitor_allocationalarms_allocation(block_count); memorymonitor_allocationsizes_track_allocation(block_count); } + +void memorymonitor_reset(void) { + memorymonitor_allocationalarms_reset(); + memorymonitor_allocationsizes_reset(); +} |
