protected void CallCommandHandler(CallCommand cmd) { #if PERFORMANCE_TEST var ptest = Service.Performance.PerformanceTest.Get(); ptest.Start("CallCommand"); #endif cmd.result = _service.Call(cmd.act, cmd.usingCoroutine, cmd.global); #if PERFORMANCE_TEST // now stop the watches ptest.Stop("CallCommand"); #endif }
protected void CallCommandHandler(CallCommand cmd) { //Profiler.BeginSample("CallCommandHandler"); cmd.result = _service.Call(cmd.act, cmd.usingCoroutine); //Profiler.EndSample(); }