fixing stats

This commit is contained in:
stephb9959
2021-01-10 15:02:06 -08:00
parent 6b04ab6a41
commit df268f7f23

View File

@@ -34,6 +34,17 @@
start_os_time = 1 :: pos_integer(),
end_os_time = 1 :: pos_integer()}).
-record(sim_state,{
pushed = false :: boolean(),
current_op_pid = none :: none | pid(),
current_op = none :: none | preparing | pushing | starting | pausing | stopping | restarting | cancelling ,
state = created :: created | prepared | pushed | started | paused | stopped | restarted | cancelled ,
start = none :: none | erlang:timestamp(),
current_cb = none :: none | notification_cb(),
outstanding_nodes = [] :: [node()],
sim_info :: simulation()
}).
-type simulation()::#simulation{}.
-type sim_action()::#sim_action{}.