Owl.Metrics.GetControllerMetrics(name: string): ControllerMetrics | nil
Client OnlyRetrieves execution performance metrics and memory overhead for a client-side controller.
Parameters
name*string | Identifier name of the controller to query. |
Returns
ControllerMetrics | nilTelemetry object containing init/start timings and memory usage in KB or nil if not found.
Related Types
local hudMetrics = Owl.Metrics.GetControllerMetrics("HUDController")
if hudMetrics then
print("Controller startup time:", hudMetrics.Start, "s")
print("Memory allocated:", hudMetrics.Memory, "KB")
end