private void SetupMethods() { try { benchmark.BenchmarkMethod(typeof(ResidentAI), "SimulationStep", typeof(uint), typeof(Citizen).MakeByRefType()); benchmark.BenchmarkMethod(typeof(TouristAI), "SimulationStep", typeof(uint), typeof(Citizen).MakeByRefType()); benchmark.BenchmarkMethod(typeof(SimulationManager), "SimulationStep"); } catch { } }
private void SetupMethods() { try { simulationManagerSimulationStepBenchmark.BenchmarkMethod(typeof(SimulationManager), "SimulationStep"); } catch { } }