mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Add CSV export to profiling data
This commit is contained in:
parent
f5477ee36f
commit
2c68ce930c
4 changed files with 130 additions and 3 deletions
|
|
@ -77,6 +77,7 @@ class ScriptEditorDebugger : public Control {
|
|||
LineEdit *live_edit_root;
|
||||
Button *le_set;
|
||||
Button *le_clear;
|
||||
Button *export_csv;
|
||||
|
||||
bool updating_scene_tree;
|
||||
float inspect_scene_tree_timeout;
|
||||
|
|
@ -92,7 +93,13 @@ class ScriptEditorDebugger : public Control {
|
|||
Tree *inspect_scene_tree;
|
||||
Button *clearbutton;
|
||||
PopupMenu *item_menu;
|
||||
|
||||
EditorFileDialog *file_dialog;
|
||||
enum FileDialogMode {
|
||||
SAVE_CSV,
|
||||
SAVE_NODE,
|
||||
};
|
||||
FileDialogMode file_dialog_mode;
|
||||
|
||||
int error_count;
|
||||
int warning_count;
|
||||
|
|
@ -196,6 +203,8 @@ class ScriptEditorDebugger : public Control {
|
|||
void _error_tree_item_rmb_selected(const Vector2 &p_pos);
|
||||
void _item_menu_id_pressed(int p_option);
|
||||
|
||||
void _export_csv();
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue