MCPcopy Create free account
hub / github.com/NanoComp/meep / get_timing_data

Method get_timing_data

python/simulation.py:4633–4640  ·  view source on GitHub ↗

Returns a dictionary that maps each `time_sink` to a list with one entry per process. The entries in the list correspond to the total amount of time in seconds spent on a particular type of operation. The set of valid time sinks is the same as for `mean_time_spent_on

(self)

Source from the content-addressed store, hash-verified

4631 return self.fields.time_spent_on(time_sink)
4632
4633 def get_timing_data(self):
4634 """
4635 Returns a dictionary that maps each `time_sink` to a list with one entry
4636 per process. The entries in the list correspond to the total amount of
4637 time in seconds spent on a particular type of operation. The set of
4638 valid time sinks is the same as for `mean_time_spent_on`.
4639 """
4640 return self.fields.get_timing_data()
4641
4642 def output_times(self, fname):
4643 """

Callers 1

test_timing_dataMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_timing_dataMethod · 0.76