diff options
author | theanarkh <theratliter@gmail.com> | 2022-08-10 19:44:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 19:44:05 +0300 |
commit | eb7f22a6b420f3f4a401f5b9fc66f8cd5e746dd9 (patch) | |
tree | 06f30fe32088d6b2e615f392c1eb07a5723ffebc /src/node_perf_common.h | |
parent | 37115034dded06f54876a3b4784c5c478e8b65e1 (diff) |
perf_hooks: fix gc elapsed time
PR-URL: https://github.com/nodejs/node/pull/44058
Refs: https://github.com/nodejs/node/issues/44046
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'src/node_perf_common.h')
-rw-r--r-- | src/node_perf_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_perf_common.h b/src/node_perf_common.h index ed520e69153..f457d73c579 100644 --- a/src/node_perf_common.h +++ b/src/node_perf_common.h @@ -71,6 +71,7 @@ class PerformanceState { AliasedUint32Array observers; uint64_t performance_last_gc_start_mark = 0; + uint16_t current_gc_type = 0; void Mark(enum PerformanceMilestone milestone, uint64_t ts = PERFORMANCE_NOW()); |