... | ... | @@ -94,7 +94,8 @@ participant simulation |
|
|
participant compoundTracker
|
|
|
participant trackerA
|
|
|
participant trackerB
|
|
|
|
|
|
database HDF5
|
|
|
user screen
|
|
|
simulation -> compoundTracker : beforeStep
|
|
|
|
|
|
activate compoundTracker
|
... | ... | @@ -109,13 +110,16 @@ activate simulation |
|
|
activate compoundTracker
|
|
|
compoundTracker -> trackerA : planetsChanged
|
|
|
compoundTracker -> trackerB : planetsChanged
|
|
|
trackerB -> trackerB : note start time
|
|
|
deactivate compoundTracker
|
|
|
deactivate simulation
|
|
|
|
|
|
simulation -> compoundTracker : afterStep
|
|
|
activate compoundTracker
|
|
|
compoundTracker -> trackerA : afterStep
|
|
|
trackerA -> HDF5 : write disk state
|
|
|
compoundTracker -> trackerB : afterStep
|
|
|
trackerB -> screen : print time spent
|
|
|
deactivate compoundTracker
|
|
|
deactivate simulation
|
|
|
|
... | ... | |