Owl.Util.Scheduler:GetStats(): SchedulerStats

Server & Client

Returns runtime performance metrics including execution frame times and active queue lengths.

Returns

SchedulerStatsDictionary containing BudgetMs, LastFrameMs, AverageFrameMs, and queue lengths.

Related Types

local stats = Owl.Util.Scheduler:GetStats()
print(string.format("Last Frame: %.2f ms | Avg: %.2f ms", stats.LastFrameMs, stats.AverageFrameMs))
print("Active tasks:", stats.TaskQueueLength)