X-Git-Url: https://git.xandkar.net/?p=beam_stats.git;a=blobdiff_plain;f=include%2Fbeam_stats.hrl;h=25f92819a635e0e2b1773fa43d8196402f750dfe;hp=5624270f8e6734fd49d4cf5b4c9b0b8eeb826bf7;hb=39ff67a62324705869d1ee364e98b17d14e70438;hpb=8c0788b23299b3d09f255cdfb1932f10da3545a2 diff --git a/include/beam_stats.hrl b/include/beam_stats.hrl index 5624270..25f9281 100644 --- a/include/beam_stats.hrl +++ b/include/beam_stats.hrl @@ -1,17 +1,17 @@ -record(beam_stats, - { timestamp :: erlang:timestamp() - , node_id :: atom() - , memory :: [{atom(), non_neg_integer()}] - , io_bytes_in :: non_neg_integer() - , io_bytes_out :: non_neg_integer() + { timestamp :: erlang:timestamp() + , node_id :: atom() + , memory :: [{atom(), non_neg_integer()}] + , io_bytes_in :: non_neg_integer() + , io_bytes_out :: non_neg_integer() , context_switches :: non_neg_integer() , reductions :: non_neg_integer() , run_queue :: non_neg_integer() , ets :: beam_stats_ets:t() + , processes :: beam_stats_processes:t() %, statistics :: [{atom() , term()}] %, system :: [{atom() , term()}] - %, process :: [{atom() , term()}] %, port :: [{atom() , term()}] %, dets :: [{atom() , term()}] }).