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/AllocationSize.c | |
| parent | 518d909b2c20aed5b3ff1ca849731cdadea4ba4c (diff) | |
Get AllocationAlarm working
Diffstat (limited to 'shared-module/memorymonitor/AllocationSize.c')
| -rw-r--r-- | shared-module/memorymonitor/AllocationSize.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-module/memorymonitor/AllocationSize.c b/shared-module/memorymonitor/AllocationSize.c index fb11471fd..c28e65592 100644 --- a/shared-module/memorymonitor/AllocationSize.c +++ b/shared-module/memorymonitor/AllocationSize.c @@ -85,3 +85,7 @@ void memorymonitor_allocationsizes_track_allocation(size_t block_count) { as = as->next; } } + +void memorymonitor_allocationsizes_reset(void) { + MP_STATE_VM(active_allocationsizes) = NULL; +} |
