Template DefineCollectorForStats
Utility method to generate a collector delegate for a particular Stats
The generated function will have the signature of
void
template DefineCollectorForStats(string statVar, string collector_name)
;
Parameters
Name | Description |
---|---|
statVar | variable of Stats type that we want to collect |
collector_name | name of the generated function |