X-Git-Url: https://git.xandkar.net/?p=beam_stats.git;a=blobdiff_plain;f=src%2Fbeam_stats_state.erl;h=1fd6e9d091760798d6e2866ceea9af634c34c091;hp=1fff6b0d77c98c637623d69d5c70e7477a77e713;hb=093e16693e52d84ef7c158aa9d808efe6a9b2e85;hpb=deefeb3c22860ae87538cdbde852a3f8ba0ee7c0 diff --git a/src/beam_stats_state.erl b/src/beam_stats_state.erl index 1fff6b0..1fd6e9d 100644 --- a/src/beam_stats_state.erl +++ b/src/beam_stats_state.erl @@ -60,9 +60,9 @@ new() -> -spec update(t()) -> t(). update(?T - { previous_io_bytes_in = PreviousIOBytesIn - , previous_io_bytes_out = PreviousIOBytesOut - , previous_context_switches = PreviousContextSwitches + { current_io_bytes_in = PreviousIOBytesIn + , current_io_bytes_out = PreviousIOBytesOut + , current_context_switches = PreviousContextSwitches } ) -> { {input , CurrentIOBytesIn}