Statistic Names
Every name the built-in statistics publish, at each level, generated by running the statistics in the code. Statistics explains the levels and how each value is computed. Each level publishes the names of the levels before it, and the new ones listed under it. <sim_id> is the simulation's id, <name> a resource, store or container, <task> a task, and <arrival> the arrival that started a flow's entities.
none
Publishes nothing: the statistics are off.
minimal
| Name | Measures |
|---|---|
<sim_id>.stats.resources.<name>.capacity |
units now |
<sim_id>.stats.resources.<name>.in_use |
units held by tasks; above capacity after a drop, until they finish |
<sim_id>.stats.resources.<name>.queue_length |
requests waiting now |
<sim_id>.stats.resources.<name>.utilization |
in_use as a percentage of capacity, now |
<sim_id>.stats.resources.<name>.down |
1 while a resource with a breakdown is down, 0 otherwise |
<sim_id>.stats.stores.<name>.capacity |
items it can hold now |
<sim_id>.stats.stores.<name>.level |
items held now |
<sim_id>.stats.stores.<name>.getters_waiting |
tasks waiting to get an item |
<sim_id>.stats.stores.<name>.putters_waiting |
tasks waiting to put an item |
<sim_id>.stats.containers.<name>.capacity |
largest amount, now |
<sim_id>.stats.containers.<name>.level |
amount held now |
<sim_id>.stats.containers.<name>.getters_waiting |
tasks waiting to take an amount |
<sim_id>.stats.containers.<name>.putters_waiting |
tasks waiting to add an amount |
<sim_id>.stats.tasks.<task>.in_progress |
instances queued or started and not yet ended, now |
basic
| Name | Measures |
|---|---|
<sim_id>.stats.resources.<name>.utilization_avg |
utilisation averaged over time, in percent |
<sim_id>.stats.resources.<name>.queue_length_avg |
requests waiting, averaged over time |
<sim_id>.stats.resources.<name>.downtime |
seconds a resource with a breakdown has been down so far |
<sim_id>.stats.resources.<name>.failures |
failures of a resource with a breakdown so far |
<sim_id>.stats.stores.<name>.level_avg |
items held, averaged over time |
<sim_id>.stats.containers.<name>.level_avg |
amount held, averaged over time |
<sim_id>.stats.tasks.<task>.finished |
instances finished so far |
<sim_id>.stats.tasks.<task>.balked |
instances that refused to join the queue; published once one does |
<sim_id>.stats.tasks.<task>.reneged |
instances that left the queue before they were served; published once one does |
<sim_id>.stats.tasks.<task>.failed |
instances that failed: their fail held, their function raised or their wait failed; published once one does |
<sim_id>.stats.tasks.<task>.interrupted |
interrupts delivered to instances, preemptions not included; published once one is |
<sim_id>.stats.tasks.<task>.preempted |
times a higher-priority request took an instance's unit; published once one does |
<sim_id>.stats.tasks.<task>.resumed |
times an interrupted instance got its units back and was served again; published once one does |
<sim_id>.stats.flows.<arrival>.finished |
entities that left the model, by the arrival that started them |
<sim_id>.stats.flows.<arrival>.started |
entities whose first task has started, by the arrival that started them |
<sim_id>.stats.flows.<arrival>.in_system |
entities in the model now: started, and not yet finished, failed or gone |
<sim_id>.stats.flows.<arrival>.failed |
entities whose flow ended in a failure no on_fail handled; published once one does |
typical
| Name | Measures |
|---|---|
<sim_id>.stats.tasks.<task>.wait_mean |
mean time from queued to started |
<sim_id>.stats.tasks.<task>.wait_max |
longest time from queued to started |
<sim_id>.stats.tasks.<task>.service_mean |
mean time from started to finished |
<sim_id>.stats.tasks.<task>.service_max |
longest time from started to finished |
all
| Name | Measures |
|---|---|
<sim_id>.stats.tasks.<task>.wait_p50 |
median wait |
<sim_id>.stats.tasks.<task>.wait_p95 |
the wait 95% of instances stay under |
<sim_id>.stats.tasks.<task>.wait_p99 |
the wait 99% of instances stay under |
<sim_id>.stats.tasks.<task>.service_p50 |
median service time |
<sim_id>.stats.tasks.<task>.service_p95 |
the service time 95% of instances stay under |
<sim_id>.stats.tasks.<task>.service_p99 |
the service time 99% of instances stay under |