| 113 | } |
| 114 | |
| 115 | void EngineDebugger::iteration(uint64_t p_frame_ticks, uint64_t p_process_ticks, uint64_t p_physics_ticks, double p_physics_frame_time) { |
| 116 | frame_time = USEC_TO_SEC(p_frame_ticks); |
| 117 | process_time = USEC_TO_SEC(p_process_ticks); |
| 118 | physics_time = USEC_TO_SEC(p_physics_ticks); |
| 119 | physics_frame_time = p_physics_frame_time; |
| 120 | // Notify tick to running profilers |
| 121 | for (KeyValue<StringName, Profiler> &E : profilers) { |
| 122 | Profiler &p = E.value; |
| 123 | if (!p.active || !p.tick) { |
| 124 | continue; |
| 125 | } |
| 126 | p.tick(p.data, frame_time, process_time, physics_time, physics_frame_time); |
| 127 | } |
| 128 | singleton->poll_events(true); |
| 129 | } |
| 130 | |
| 131 | void EngineDebugger::initialize(const String &p_uri, bool p_skip_breakpoints, bool p_ignore_error_breaks, const Vector<String> &p_breakpoints, void (*p_allow_focus_steal_fn)()) { |
| 132 | register_uri_handler("tcp://", RemoteDebuggerPeerTCP::create); // TCP is the default protocol. Platforms/modules can add more. |
nothing calls this directly
no test coverage detected