From b5d2c23b3266299c78230ccc71a055e2c1ae00fa Mon Sep 17 00:00:00 2001 From: "Y. Wang" Date: Sun, 15 Sep 2024 15:45:41 +0200 Subject: Add tracy annotations --- advtrains_line_automation/init.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'advtrains_line_automation') diff --git a/advtrains_line_automation/init.lua b/advtrains_line_automation/init.lua index 7b758bc..78d9436 100644 --- a/advtrains_line_automation/init.lua +++ b/advtrains_line_automation/init.lua @@ -42,6 +42,8 @@ function advtrains.lines.save() end function advtrains.lines.step(dtime) + tracy.ZoneBeginN("advtrains.lines.step") advtrains.lines.rwt.step(dtime) advtrains.lines.sched.run() + tracy.ZoneEnd() end -- cgit v1.2.3