Collect processes stats.
[beam_stats.git] / include / beam_stats_process.hrl
diff --git a/include/beam_stats_process.hrl b/include/beam_stats_process.hrl
new file mode 100644 (file)
index 0000000..65dc860
--- /dev/null
@@ -0,0 +1,12 @@
+-record(beam_stats_process,
+    { pid               ::               pid()
+    , registered_name   :: hope_option:t(atom())
+    , raw_initial_call  ::               mfa()
+    , otp_initial_call  :: hope_option:t(mfa())
+    , otp_ancestors     ::               [{name, atom()} | {call, mfa()}]
+    , status            ::               beam_stats_process:status()
+    , memory            ::               non_neg_integer()
+    , total_heap_size   ::               non_neg_integer()
+    , stack_size        ::               non_neg_integer()
+    , message_queue_len ::               non_neg_integer()
+    }).
This page took 0.02188 seconds and 4 git commands to generate.