SchedulerStats¶
Provides functions that expose statistics about the current scheduler. All methods will return '0' if the runtime used the program wasn't compiled with runtime statistics turned on.
Constructors¶
create¶
Returns¶
- SchedulerStats val^
Public Functions¶
total_mem_allocated¶
Returns the total memory currently allocated by the current scheduler thread (note: this is an approximate value and it can be negative as it represents only a partial view across all the scheduler threads)
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- I64 val
total_mem_used¶
Returns the total memory currently used by the current scheduler thread (note: this is an approximate value and it can be negative as it represents only a partial view across all the scheduler threads)
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- I64 val
created_actors_counter¶
Returns the number of actors created by the current schedule thread (note: this is an approximate value and it can be negative as it represents only a partial view across all the scheduler threads)
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- USize val
destroyed_actors_counter¶
Returns the number of actors destroyed by the current schedule thread
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- USize val
actor_app_cpu¶
Returns the amount of cpu the current scheduler has used to process actor app messages
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- USize val
actor_gc_mark_cpu¶
Returns the amount of cpu the current scheduler has used for mark phase to garbage collect actor heaps
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- USize val
actor_gc_sweep_cpu¶
Returns the amount of cpu the current scheduler has used for sweep phase to garbage collect actor heaps
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- USize val
actor_system_cpu¶
Returns the amount of cpu the current scheduler has used to process actor system messages
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- USize val
msg_cpu¶
Returns the amount of cpu the current scheduler has used to process scheduler system messages
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- USize val
misc_cpu¶
Returns the amount of cpu the current scheduler has used while waiting to do work
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- USize val
mem_used_inflight_messages¶
Returns the number of memory used by inflight messages created by the current scheduler thread (note: this is an approximate value and it can be negative if the current thread receives more messages than it sends)
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- I64 val
mem_allocated_inflight_messages¶
Returns the number of memory allocated by inflight messages created by the current scheduler thread (note: this is an approximate value and it can be negative if the current thread receives more messages than it sends)
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- I64 val
num_inflight_messages¶
Returns the number of inflight messages by the current scheduler thread (note: this is an approximate value and it can be negative if the current thread receives more messages than it sends)
Parameters¶
- auth: SchedulerStatsAuth val
Returns¶
- I64 val
eq¶
Parameters¶
- that: SchedulerStats val
Returns¶
- Bool val
ne¶
Parameters¶
- that: SchedulerStats val
Returns¶
- Bool val