Return a list of times spent by each process for a type of work `time_sink` which is the same as for `mean_time_spent_on`.
(self, time_sink)
| 4620 | return self.fields.mean_time_spent_on(time_sink) |
| 4621 | |
| 4622 | def time_spent_on(self, time_sink): |
| 4623 | """ |
| 4624 | Return a list of times spent by each process for a type of work `time_sink` which |
| 4625 | is the same as for `mean_time_spent_on`. |
| 4626 | """ |
| 4627 | if self.fields is None: |
| 4628 | raise RuntimeError( |
| 4629 | "Simulation fields are not initialized. Call init_sim() or run() first." |
| 4630 | ) |
| 4631 | return self.fields.time_spent_on(time_sink) |
| 4632 | |
| 4633 | def get_timing_data(self): |
| 4634 | """ |
no outgoing calls