Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 338959384 function calls in 127.491 seconds
- Ordered by: internal time
- ncalls tottime percall cumtime percall filename:lineno(function)
- 1254 44.877 0.036 127.371 0.102 simulation.py:97(update_missile_locations)
- 202544160 29.560 0.000 29.560 0.000 aircraft.py:80(maybe_launch_interceptor)
- 4583896 14.220 0.000 22.718 0.000 location.py:18(distance_to)
- 1657946 7.752 0.000 18.255 0.000 location.py:52(move_towards)
- 3709562 4.308 0.000 36.019 0.000 util.py:8(can_intercept)
- 1657946 3.891 0.000 6.109 0.000 location.py:41(_bearing_towards)
- 24089306 3.227 0.000 3.227 0.000 {built-in method math.sin}
- 24089306 3.070 0.000 3.070 0.000 {built-in method math.cos}
- 9167792 2.374 0.000 2.374 0.000 {built-in method math.pow}
- 3709562 2.094 0.000 38.134 0.000 interceptor_system.py:35(_launch_interceptor)
- 3709600 1.991 0.000 42.059 0.000 sam.py:31(maybe_launch_interceptor)
- 3709600 1.934 0.000 40.068 0.000 interceptor_system.py:15(maybe_launch_interceptor)
- 26625314 1.908 0.000 1.908 0.000 {built-in method math.radians}
- 7899788 1.804 0.000 1.804 0.000 {built-in method math.atan2}
- 9167792 1.227 0.000 1.227 0.000 {built-in method math.sqrt}
- 4451520 1.074 0.000 1.074 0.000 ship.py:43(maybe_launch_interceptor)
- 1658922 0.909 0.000 0.909 0.000 location.py:7(__init__)
- 1483840 0.539 0.000 0.539 0.000 aegis_ashore.py:36(maybe_launch_interceptor)
- 1657946 0.296 0.000 0.296 0.000 {built-in method math.asin}
- 3315892 0.296 0.000 0.296 0.000 {built-in method math.degrees}
- 2836 0.065 0.000 0.065 0.000 socket.py:333(send)
- 1880 0.017 0.000 127.481 0.068 simulation.py:38(process_next_event)
- 2784 0.006 0.000 0.087 0.000 iostream.py:366(write)
- 1880 0.006 0.000 0.006 0.000 {built-in method _heapq.heappop}
- 2836 0.005 0.000 0.078 0.000 iostream.py:195(schedule)
- 3898 0.004 0.000 0.007 0.000 simulation.py:72(schedule_event)
- 626 0.004 0.000 0.086 0.000 launcher.py:37(launch_missile)
- 2836 0.003 0.000 0.006 0.000 threading.py:1104(is_alive)
- 3898 0.003 0.000 0.003 0.000 {built-in method _heapq.heappush}
- 1 0.003 0.003 127.491 127.491 <ipython-input-19-b1d318d0d100>:1(myfun)
- 1392 0.003 0.000 0.090 0.000 {built-in method builtins.print}
- 2018 0.002 0.000 0.002 0.000 {method 'format' of 'str' objects}
- 626 0.002 0.000 0.003 0.000 missile.py:6(__init__)
- 2784 0.001 0.000 0.002 0.000 iostream.py:300(_is_master_process)
- 2836 0.001 0.000 0.003 0.000 threading.py:1062(_wait_for_tstate_lock)
- 1 0.001 0.001 0.006 0.006 simulation.py:139(load_entities_from_files)
- 2836 0.001 0.000 0.001 0.000 {method 'acquire' of '_thread.lock' objects}
- 2836 0.001 0.000 0.001 0.000 iostream.py:93(_event_pipe)
- 626 0.001 0.000 0.006 0.000 launcher.py:60(missile_flight_duration)
- 2506 0.001 0.000 0.001 0.000 {built-in method builtins.len}
- 1602 0.001 0.000 0.001 0.000 entity.py:9(__init__)
- 8 0.001 0.000 0.001 0.000 {built-in method io.open}
- 2784 0.001 0.000 0.001 0.000 {built-in method nt.getpid}
- 2784 0.001 0.000 0.003 0.000 iostream.py:313(_schedule_flush)
- 565 0.001 0.000 0.001 0.000 interceptor_system.py:5(__init__)
- 992 0.001 0.000 0.001 0.000 {method 'readline' of '_io.TextIOWrapper' objects}
- 626 0.001 0.000 0.001 0.000 launcher.py:8(__init__)
- 984 0.001 0.000 0.002 0.000 simulation.py:126(load_csv_lines_from_file)
- 273 0.000 0.000 0.001 0.000 aircraft.py:10(__init__)
- 2836 0.000 0.000 0.000 0.000 threading.py:506(is_set)
- 626 0.000 0.000 0.001 0.000 simulation.py:89(enable_missile_tracking)
- 2784 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
- 2836 0.000 0.000 0.000 0.000 {method 'append' of 'collections.deque' objects}
- 626 0.000 0.000 0.001 0.000 random.py:223(_randbelow)
- 626 0.000 0.000 0.086 0.000 <ipython-input-19-b1d318d0d100>:34(<lambda>)
- 976 0.000 0.000 0.000 0.000 {method 'split' of 'str' objects}
- 626 0.000 0.000 0.001 0.000 random.py:253(choice)
- 1602 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
- 8 0.000 0.000 0.000 0.000 {method 'close' of '_io.TextIOWrapper' objects}
- 21 0.000 0.000 0.000 0.000 {built-in method _codecs.charmap_decode}
- 916 0.000 0.000 0.000 0.000 {method 'getrandbits' of '_random.Random' objects}
- 626 0.000 0.000 0.000 0.000 {method 'bit_length' of 'int' objects}
- 626 0.000 0.000 0.000 0.000 {method 'random' of '_random.Random' objects}
- 26 0.000 0.000 0.000 0.000 airbase.py:8(__init__)
- 1 0.000 0.000 127.491 127.491 <string>:1(<module>)
- 30 0.000 0.000 0.000 0.000 radar.py:9(__init__)
- 8 0.000 0.000 0.000 0.000 {built-in method _locale._getdefaultlocale}
- 21 0.000 0.000 0.000 0.000 cp1252.py:22(decode)
- 1 0.000 0.000 127.491 127.491 {built-in method builtins.exec}
- 2 0.000 0.000 0.000 0.000 aegis_ashore.py:10(__init__)
- 6 0.000 0.000 0.000 0.000 ship.py:12(__init__)
- 8 0.000 0.000 0.000 0.000 _bootlocale.py:11(getpreferredencoding)
- 5 0.000 0.000 0.000 0.000 sam.py:12(__init__)
- 8 0.000 0.000 0.000 0.000 port.py:8(__init__)
- 1 0.000 0.000 0.000 0.000 simulation.py:17(__init__)
- 4 0.000 0.000 0.000 0.000 {built-in method builtins.round}
- 8 0.000 0.000 0.000 0.000 codecs.py:259(__init__)
- 21 0.000 0.000 0.000 0.000 codecs.py:280(getstate)
- 1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement