Fix not-updated previous stats state values. 0.5.1
authorSiraaj Khandkar <siraaj@khandkar.net>
Tue, 25 Aug 2015 13:16:06 +0000 (09:16 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Tue, 25 Aug 2015 13:16:06 +0000 (09:16 -0400)
src/beam_stats.app.src
src/beam_stats_state.erl

index e97bd2c..40bab63 100644 (file)
@@ -1,7 +1,7 @@
 {application, beam_stats,
  [
   {description, "Periodic VM stats production and consumption."},
-  {vsn, "0.5.0"},
+  {vsn, "0.5.1"},
   {registered, []},
   {applications,
     [ kernel
index 1fff6b0..1fd6e9d 100644 (file)
@@ -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}
This page took 0.022266 seconds and 4 git commands to generate.