summaryrefslogtreecommitdiff
path: root/servers/rendering_server.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2020-12-24 10:07:54 +0100
committerGitHub <noreply@github.com>2020-12-24 10:07:54 +0100
commit6063af6788feb31665b7be2cc629fd7a0f7673e2 (patch)
treea3e2c9ed37a1fefd40b407848d946292fc7aff76 /servers/rendering_server.h
parent3fdf4bfe71311000bf706c16d79b475308a200ac (diff)
parent7219f37cb5738190b2b11c27c4e6a9a0ce5ecd30 (diff)
Merge pull request #44641 from reduz/get-frame-setup-time
Add API to get frame setup time on CPU
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r--servers/rendering_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h
index 4dc4f332fa..f403264a96 100644
--- a/servers/rendering_server.h
+++ b/servers/rendering_server.h
@@ -1409,6 +1409,8 @@ public:
virtual Vector<FrameProfileArea> get_frame_profile() = 0;
virtual uint64_t get_frame_profile_frame() = 0;
+ virtual float get_frame_setup_time_cpu() const = 0;
+
/* TESTING */
virtual RID get_test_cube() = 0;