diff options
| author | Eli Zaretskii | 2023-03-10 14:54:52 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2023-03-10 14:54:52 -0500 |
| commit | 9a5f2ac97ecd5f434690f04ed0b6573d2dd58148 (patch) | |
| tree | ca954e389a06235afaf82aabca342afcbac39608 /java | |
| parent | d5d2959217f7afc99f2636cafdb8ffe00e14dfae (diff) | |
| download | emacs-9a5f2ac97ecd5f434690f04ed0b6573d2dd58148.tar.gz emacs-9a5f2ac97ecd5f434690f04ed0b6573d2dd58148.zip | |
src/profiler.c: Keep track of allocations during GC
Cargo-cult the `cpu_gc_count` code to `memory_gc_count`.
* src/profiler.c (mem_gc_count): New var.
(Fprofiler_memory_start): Initialize it.
(Fprofiler_memory_log): Increment it.
(Fprofiler_memory_log): Use it.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions