diff options
| author | Andreas Haas | 2017-10-02 23:10:36 +0200 |
|---|---|---|
| committer | GitHub | 2017-10-02 23:10:36 +0200 |
| commit | 5303efb2fabd668bef18b7ac7606426692e5d6bb (patch) | |
| tree | b699146047e60501afbfa09c36161d8ae408a223 /editor/script_editor_debugger.cpp | |
| parent | 1e9465096d9c738057aad81d5046b85777155f87 (diff) | |
| parent | 4537977d6dd2a76580d9ab611a18634efab55c74 (diff) | |
| download | godot-5303efb2fabd668bef18b7ac7606426692e5d6bb.tar.gz godot-5303efb2fabd668bef18b7ac7606426692e5d6bb.tar.zst godot-5303efb2fabd668bef18b7ac7606426692e5d6bb.zip | |
Diffstat (limited to 'editor/script_editor_debugger.cpp')
| -rw-r--r-- | editor/script_editor_debugger.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index c968f4edd..5ad4674f7 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -649,8 +649,8 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da metric.frame_number = p_data[0]; metric.frame_time = p_data[1]; metric.idle_time = p_data[2]; - metric.fixed_time = p_data[3]; - metric.fixed_frame_time = p_data[4]; + metric.physics_time = p_data[3]; + metric.physics_frame_time = p_data[4]; int frame_data_amount = p_data[6]; int frame_function_amount = p_data[7]; @@ -664,9 +664,9 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da item.calls = 1; item.line = 0; item.name = "Fixed Time"; - item.total = metric.fixed_time; + item.total = metric.physics_time; item.self = item.total; - item.signature = "fixed_time"; + item.signature = "physics_time"; frame_time.items.push_back(item); @@ -678,9 +678,9 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da frame_time.items.push_back(item); item.name = "Fixed Frame Time"; - item.total = metric.fixed_frame_time; + item.total = metric.physics_frame_time; item.self = item.total; - item.signature = "fixed_frame_time"; + item.signature = "physics_frame_time"; frame_time.items.push_back(item); |
