ConservativeGC.runLocked
auto runLocked(alias func, Args...)(auto ref Args args)Run a function inside a lock/unlock set.
Parameters
func | The function to run. |
args | The function arguments. |
auto runLocked(alias func, alias time, alias count, Args...)(auto ref Args args)Run a function in an lock/unlock set that keeps track of how much time was spend inside this function (in ticks) and how many times this fuction was called.
Parameters
func | The function to run. |
time | The variable keeping track of the time (in ticks). |
count | The variable keeping track of how many times this fuction was called. |
args | The function arguments. |