public void Invoke(object instance) { CodeTimer.Time(_name, _iteration, () => { _invoker(instance, Args); }); }
public static void Initialize() { Process.GetCurrentProcess().PriorityClass = ProcessPriorityClass.High; Thread.CurrentThread.Priority = ThreadPriority.Highest; CodeTimer.Time("", 1, (Action)(() => { })); }