Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.32 KB | None | 0 0
  1. 338959384 function calls in 127.491 seconds
  2.  
  3. Ordered by: internal time
  4.  
  5. ncalls tottime percall cumtime percall filename:lineno(function)
  6. 1254 44.877 0.036 127.371 0.102 simulation.py:97(update_missile_locations)
  7. 202544160 29.560 0.000 29.560 0.000 aircraft.py:80(maybe_launch_interceptor)
  8. 4583896 14.220 0.000 22.718 0.000 location.py:18(distance_to)
  9. 1657946 7.752 0.000 18.255 0.000 location.py:52(move_towards)
  10. 3709562 4.308 0.000 36.019 0.000 util.py:8(can_intercept)
  11. 1657946 3.891 0.000 6.109 0.000 location.py:41(_bearing_towards)
  12. 24089306 3.227 0.000 3.227 0.000 {built-in method math.sin}
  13. 24089306 3.070 0.000 3.070 0.000 {built-in method math.cos}
  14. 9167792 2.374 0.000 2.374 0.000 {built-in method math.pow}
  15. 3709562 2.094 0.000 38.134 0.000 interceptor_system.py:35(_launch_interceptor)
  16. 3709600 1.991 0.000 42.059 0.000 sam.py:31(maybe_launch_interceptor)
  17. 3709600 1.934 0.000 40.068 0.000 interceptor_system.py:15(maybe_launch_interceptor)
  18. 26625314 1.908 0.000 1.908 0.000 {built-in method math.radians}
  19. 7899788 1.804 0.000 1.804 0.000 {built-in method math.atan2}
  20. 9167792 1.227 0.000 1.227 0.000 {built-in method math.sqrt}
  21. 4451520 1.074 0.000 1.074 0.000 ship.py:43(maybe_launch_interceptor)
  22. 1658922 0.909 0.000 0.909 0.000 location.py:7(__init__)
  23. 1483840 0.539 0.000 0.539 0.000 aegis_ashore.py:36(maybe_launch_interceptor)
  24. 1657946 0.296 0.000 0.296 0.000 {built-in method math.asin}
  25. 3315892 0.296 0.000 0.296 0.000 {built-in method math.degrees}
  26. 2836 0.065 0.000 0.065 0.000 socket.py:333(send)
  27. 1880 0.017 0.000 127.481 0.068 simulation.py:38(process_next_event)
  28. 2784 0.006 0.000 0.087 0.000 iostream.py:366(write)
  29. 1880 0.006 0.000 0.006 0.000 {built-in method _heapq.heappop}
  30. 2836 0.005 0.000 0.078 0.000 iostream.py:195(schedule)
  31. 3898 0.004 0.000 0.007 0.000 simulation.py:72(schedule_event)
  32. 626 0.004 0.000 0.086 0.000 launcher.py:37(launch_missile)
  33. 2836 0.003 0.000 0.006 0.000 threading.py:1104(is_alive)
  34. 3898 0.003 0.000 0.003 0.000 {built-in method _heapq.heappush}
  35. 1 0.003 0.003 127.491 127.491 <ipython-input-19-b1d318d0d100>:1(myfun)
  36. 1392 0.003 0.000 0.090 0.000 {built-in method builtins.print}
  37. 2018 0.002 0.000 0.002 0.000 {method 'format' of 'str' objects}
  38. 626 0.002 0.000 0.003 0.000 missile.py:6(__init__)
  39. 2784 0.001 0.000 0.002 0.000 iostream.py:300(_is_master_process)
  40. 2836 0.001 0.000 0.003 0.000 threading.py:1062(_wait_for_tstate_lock)
  41. 1 0.001 0.001 0.006 0.006 simulation.py:139(load_entities_from_files)
  42. 2836 0.001 0.000 0.001 0.000 {method 'acquire' of '_thread.lock' objects}
  43. 2836 0.001 0.000 0.001 0.000 iostream.py:93(_event_pipe)
  44. 626 0.001 0.000 0.006 0.000 launcher.py:60(missile_flight_duration)
  45. 2506 0.001 0.000 0.001 0.000 {built-in method builtins.len}
  46. 1602 0.001 0.000 0.001 0.000 entity.py:9(__init__)
  47. 8 0.001 0.000 0.001 0.000 {built-in method io.open}
  48. 2784 0.001 0.000 0.001 0.000 {built-in method nt.getpid}
  49. 2784 0.001 0.000 0.003 0.000 iostream.py:313(_schedule_flush)
  50. 565 0.001 0.000 0.001 0.000 interceptor_system.py:5(__init__)
  51. 992 0.001 0.000 0.001 0.000 {method 'readline' of '_io.TextIOWrapper' objects}
  52. 626 0.001 0.000 0.001 0.000 launcher.py:8(__init__)
  53. 984 0.001 0.000 0.002 0.000 simulation.py:126(load_csv_lines_from_file)
  54. 273 0.000 0.000 0.001 0.000 aircraft.py:10(__init__)
  55. 2836 0.000 0.000 0.000 0.000 threading.py:506(is_set)
  56. 626 0.000 0.000 0.001 0.000 simulation.py:89(enable_missile_tracking)
  57. 2784 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
  58. 2836 0.000 0.000 0.000 0.000 {method 'append' of 'collections.deque' objects}
  59. 626 0.000 0.000 0.001 0.000 random.py:223(_randbelow)
  60. 626 0.000 0.000 0.086 0.000 <ipython-input-19-b1d318d0d100>:34(<lambda>)
  61. 976 0.000 0.000 0.000 0.000 {method 'split' of 'str' objects}
  62. 626 0.000 0.000 0.001 0.000 random.py:253(choice)
  63. 1602 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
  64. 8 0.000 0.000 0.000 0.000 {method 'close' of '_io.TextIOWrapper' objects}
  65. 21 0.000 0.000 0.000 0.000 {built-in method _codecs.charmap_decode}
  66. 916 0.000 0.000 0.000 0.000 {method 'getrandbits' of '_random.Random' objects}
  67. 626 0.000 0.000 0.000 0.000 {method 'bit_length' of 'int' objects}
  68. 626 0.000 0.000 0.000 0.000 {method 'random' of '_random.Random' objects}
  69. 26 0.000 0.000 0.000 0.000 airbase.py:8(__init__)
  70. 1 0.000 0.000 127.491 127.491 <string>:1(<module>)
  71. 30 0.000 0.000 0.000 0.000 radar.py:9(__init__)
  72. 8 0.000 0.000 0.000 0.000 {built-in method _locale._getdefaultlocale}
  73. 21 0.000 0.000 0.000 0.000 cp1252.py:22(decode)
  74. 1 0.000 0.000 127.491 127.491 {built-in method builtins.exec}
  75. 2 0.000 0.000 0.000 0.000 aegis_ashore.py:10(__init__)
  76. 6 0.000 0.000 0.000 0.000 ship.py:12(__init__)
  77. 8 0.000 0.000 0.000 0.000 _bootlocale.py:11(getpreferredencoding)
  78. 5 0.000 0.000 0.000 0.000 sam.py:12(__init__)
  79. 8 0.000 0.000 0.000 0.000 port.py:8(__init__)
  80. 1 0.000 0.000 0.000 0.000 simulation.py:17(__init__)
  81. 4 0.000 0.000 0.000 0.000 {built-in method builtins.round}
  82. 8 0.000 0.000 0.000 0.000 codecs.py:259(__init__)
  83. 21 0.000 0.000 0.000 0.000 codecs.py:280(getstate)
  84. 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