couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [27/50] folsom commit: updated refs/heads/import-master to 4824aec
Date Thu, 31 Jul 2014 21:25:15 GMT
switch strings to atoms in vm metrics


Project: http://git-wip-us.apache.org/repos/asf/couchdb-folsom/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-folsom/commit/ffc18d2a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-folsom/tree/ffc18d2a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-folsom/diff/ffc18d2a

Branch: refs/heads/import-master
Commit: ffc18d2aefd2fbbdf902b0cc8e29ec4a0c837878
Parents: 7032b84
Author: Joe Williams <joe.williams@github.com>
Authored: Mon Nov 4 10:49:52 2013 -0800
Committer: Joe Williams <joe.williams@github.com>
Committed: Mon Nov 4 10:51:03 2013 -0800

----------------------------------------------------------------------
 src/folsom_vm_metrics.erl | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-folsom/blob/ffc18d2a/src/folsom_vm_metrics.erl
----------------------------------------------------------------------
diff --git a/src/folsom_vm_metrics.erl b/src/folsom_vm_metrics.erl
index fab4ef0..8a42f40 100644
--- a/src/folsom_vm_metrics.erl
+++ b/src/folsom_vm_metrics.erl
@@ -70,17 +70,17 @@ get_dets_info() ->
 convert_statistics({context_switches, {ContextSwitches, 0}}) ->
     ContextSwitches;
 convert_statistics({garbage_collection, {NumberofGCs, WordsReclaimed, 0}}) ->
-    [{"number_of_gcs", NumberofGCs}, {"words_reclaimed", WordsReclaimed}];
+    [{number_of_gcs, NumberofGCs}, {words_reclaimed, WordsReclaimed}];
 convert_statistics({io, {Input, Output}}) ->
     [Input, Output];
 convert_statistics({reductions, {TotalReductions, ReductionsSinceLastCall}}) ->
-    [{"total_reductions", TotalReductions},
-     {"reductions_since_last_call", ReductionsSinceLastCall}];
+    [{total_reductions, TotalReductions},
+     {reductions_since_last_call, ReductionsSinceLastCall}];
 convert_statistics({runtime, {TotalRunTime, TimeSinceLastCall}}) ->
-    [{"total_run_time", TotalRunTime}, {"time_since_last_call", TimeSinceLastCall}];
+    [{total_run_time, TotalRunTime}, {time_since_last_call, TimeSinceLastCall}];
 convert_statistics({wall_clock, {TotalWallclockTime, WallclockTimeSinceLastCall}}) ->
-    [{"Total_Wall_Clock_time", TotalWallclockTime},
-     {"wall_clock_time_since_last_call", WallclockTimeSinceLastCall}];
+    [{total_wall_clock_time, TotalWallclockTime},
+     {wall_clock_time_since_last_call, WallclockTimeSinceLastCall}];
 convert_statistics({_, Value}) ->
     Value.
 


Mime
View raw message