The window of the hook profiler (profiler_window): a list of the server's hooks with
their load and number of calls.
It is opened with the fl_profiler_toggle console command and refreshed through
update_metrics.
Summary
Methods
Builds the hook list.
Creates the list view if it is missing, then adds or updates one line per serverside hook with its load in milliseconds and its call count.
PANEL:update_metrics(cl_metrics, cl_counts, sv_metrics, sv_counts)
client plugins/sh_profiler.lua:148Stores new profiler data and refreshes the hook list.
Parameters
- cl_metrics Map clientside run time in seconds by hook name
- cl_counts Map clientside call counts by hook name
- sv_metrics Map serverside run time in seconds by hook name
- sv_counts Map serverside call counts by hook name