Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 3e50d68

Browse files
Stop microstate accounting after sampling
1 parent 0a6eede commit 3e50d68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/rabbit_runtime.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,6 @@ get_gc_info(Pid) ->
5050
-spec msacc_stats(integer()) -> nonempty_list(#{atom() => any()}).
5151
msacc_stats(TimeInMs) ->
5252
msacc:start(TimeInMs),
53-
msacc:stats().
53+
S = msacc:stats(),
54+
msacc:stop(),
55+
S.

0 commit comments

Comments
 (0)