Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1267834271 function calls in 433.595 seconds
- Ordered by: internal time
- ncalls tottime percall cumtime percall filename:lineno(function)
- 14241 190.977 0.013 432.924 0.030 simulation.py:80(update_missile_locations)
- 945633507 126.713 0.000 126.713 0.000 aircraft.py:80(maybe_launch_interceptor)
- 9439635 27.913 0.000 44.498 0.000 location.py:18(distance_to)
- 3592475 16.147 0.000 38.472 0.000 location.py:52(move_towards)
- 3592475 8.466 0.000 13.142 0.000 location.py:41(_bearing_towards)
- 9304958 8.247 0.000 53.963 0.000 util.py:4(can_intercept)
- 17319295 6.920 0.000 71.652 0.000 sam.py:31(maybe_launch_interceptor)
- 51211545 6.538 0.000 6.538 0.000 {built-in method math.sin}
- 51211545 6.215 0.000 6.215 0.000 {built-in method math.cos}
- 12045911 5.536 0.000 64.732 0.000 interceptor_system.py:15(maybe_launch_interceptor)
- 12024694 5.204 0.000 59.196 0.000 interceptor_system.py:35(_launch_interceptor)
- 18879270 4.565 0.000 4.565 0.000 {built-in method math.pow}
- 20783154 4.385 0.000 4.385 0.000 ship.py:43(maybe_launch_interceptor)
- 55720915 3.875 0.000 3.875 0.000 {built-in method math.radians}
- 16624585 3.642 0.000 3.642 0.000 {built-in method math.atan2}
- 18879270 2.408 0.000 2.408 0.000 {built-in method math.sqrt}
- 3593451 1.963 0.000 1.963 0.000 location.py:7(__init__)
- 6927718 1.920 0.000 1.920 0.000 aegis_ashore.py:36(maybe_launch_interceptor)
- 3592475 0.637 0.000 0.637 0.000 {built-in method math.asin}
- 7184950 0.601 0.000 0.601 0.000 {built-in method math.degrees}
- 10090 0.369 0.000 0.369 0.000 socket.py:333(send)
- 16381 0.118 0.000 433.369 0.026 simulation.py:37(process_next_event)
- 16380 0.032 0.000 0.032 0.000 {built-in method _heapq.heappop}
- 16380 0.032 0.000 0.032 0.000 {built-in method _heapq.heappush}
- 16380 0.023 0.000 0.054 0.000 simulation.py:53(schedule_event)
- 10090 0.020 0.000 0.416 0.000 iostream.py:195(schedule)
- 9716 0.019 0.000 0.446 0.000 iostream.py:366(write)
- 1 0.016 0.016 433.595 433.595 <ipython-input-40-dd3fcf651716>:1(myfun)
- 12898 0.013 0.000 0.013 0.000 {method 'format' of 'str' objects}
- 10090 0.011 0.000 0.021 0.000 threading.py:1104(is_alive)
- 4860 0.009 0.000 0.455 0.000 {built-in method builtins.print}
- 17009 0.005 0.000 0.005 0.000 {built-in method builtins.len}
- 9716 0.005 0.000 0.007 0.000 iostream.py:300(_is_master_process)
- 10090 0.005 0.000 0.005 0.000 {method 'acquire' of '_thread.lock' objects}
- 10090 0.004 0.000 0.009 0.000 threading.py:1062(_wait_for_tstate_lock)
- 10090 0.004 0.000 0.004 0.000 iostream.py:93(_event_pipe)
- 256 0.004 0.000 0.055 0.000 interceptor_system.py:78(intercept)
- 1252 0.003 0.000 0.175 0.000 launcher.py:37(launch_missile)
- 9716 0.003 0.000 0.014 0.000 iostream.py:313(_schedule_flush)
- 9716 0.002 0.000 0.002 0.000 {built-in method nt.getpid}
- 2578 0.002 0.000 0.009 0.000 entity.py:14(status_string)
- 626 0.002 0.000 0.003 0.000 missile.py:6(__init__)
- 10090 0.002 0.000 0.002 0.000 threading.py:506(is_set)
- 2 0.002 0.001 0.203 0.101 simulation.py:152(print_state)
- 9716 0.002 0.000 0.002 0.000 {built-in method builtins.isinstance}
- 626 0.002 0.000 0.057 0.000 missile.py:27(missile_impact)
- 546 0.002 0.000 0.006 0.000 aircraft.py:95(status_string)
- 10090 0.001 0.000 0.001 0.000 {method 'append' of 'collections.deque' objects}
- 626 0.001 0.000 0.006 0.000 launcher.py:60(missile_flight_duration)
- 2578 0.001 0.000 0.006 0.000 location.py:81(to_string)
- 1 0.001 0.001 0.006 0.006 simulation.py:118(load_entities_from_files)
- 1252 0.001 0.000 0.005 0.000 launcher.py:69(status_string)
- 1602 0.001 0.000 0.001 0.000 entity.py:9(__init__)
- 626 0.001 0.000 0.058 0.000 launcher.py:46(<lambda>)
- 8 0.001 0.000 0.001 0.000 {built-in method io.open}
- 565 0.001 0.000 0.001 0.000 interceptor_system.py:5(__init__)
- 1662 0.001 0.000 0.001 0.000 {built-in method builtins.hasattr}
- 992 0.001 0.000 0.001 0.000 {method 'readline' of '_io.TextIOWrapper' objects}
- 273 0.001 0.000 0.001 0.000 aircraft.py:10(__init__)
- 984 0.001 0.000 0.002 0.000 simulation.py:105(load_csv_lines_from_file)
- 626 0.001 0.000 0.001 0.000 random.py:223(_randbelow)
- 626 0.001 0.000 0.001 0.000 launcher.py:8(__init__)
- 1130 0.000 0.000 0.001 0.000 interceptor_system.py:111(status_string)
- 626 0.000 0.000 0.175 0.000 <ipython-input-40-dd3fcf651716>:33(<lambda>)
- 626 0.000 0.000 0.003 0.000 missile.py:35(status_string)
- 626 0.000 0.000 0.001 0.000 random.py:253(choice)
- 142 0.000 0.000 0.001 0.000 radar.py:17(resolve_missile_impact)
- 256 0.000 0.000 0.055 0.000 interceptor_system.py:57(<lambda>)
- 976 0.000 0.000 0.000 0.000 {method 'split' of 'str' objects}
- 1602 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
- 64 0.000 0.000 0.000 0.000 airbase.py:15(resolve_missile_impact)
- 8 0.000 0.000 0.000 0.000 {method 'close' of '_io.TextIOWrapper' objects}
- 626 0.000 0.000 0.000 0.000 launcher.py:54(<lambda>)
- 803 0.000 0.000 0.000 0.000 {method 'random' of '_random.Random' objects}
- 966 0.000 0.000 0.000 0.000 {method 'getrandbits' of '_random.Random' objects}
- 626 0.000 0.000 0.000 0.000 simulation.py:70(enable_missile_tracking)
- 21 0.000 0.000 0.000 0.000 {built-in method _codecs.charmap_decode}
- 136 0.000 0.000 0.000 0.000 aegis_ashore.py:52(resolve_missile_impact)
- 47 0.000 0.000 0.000 0.000 port.py:15(resolve_missile_impact)
- 84 0.000 0.000 0.000 0.000 sam.py:41(resolve_missile_impact)
- 626 0.000 0.000 0.000 0.000 {method 'bit_length' of 'int' objects}
- 60 0.000 0.000 0.000 0.000 radar.py:26(status_string)
- 52 0.000 0.000 0.000 0.000 airbase.py:26(status_string)
- 12 0.000 0.000 0.000 0.000 ship.py:62(status_string)
- 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)
- 26 0.000 0.000 0.000 0.000 airbase.py:8(__init__)
- 10 0.000 0.000 0.000 0.000 sam.py:50(status_string)
- 4 0.000 0.000 0.000 0.000 aegis_ashore.py:58(status_string)
- 5 0.000 0.000 0.001 0.000 interceptor_system.py:105(finish_reload)
- 1 0.000 0.000 433.595 433.595 {built-in method builtins.exec}
- 16 0.000 0.000 0.000 0.000 port.py:24(status_string)
- 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__)
- 5 0.000 0.000 0.001 0.000 interceptor_system.py:70(<lambda>)
- 8 0.000 0.000 0.000 0.000 port.py:8(__init__)
- 1 0.000 0.000 0.000 0.000 simulation.py:15(__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 433.595 433.595 <string>:1(<module>)
- 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