Ejemplo n.º 1
0
 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
     {
     }
 }
Ejemplo n.º 2
0
 private void SetupMethods()
 {
     try {
         simulationManagerSimulationStepBenchmark.BenchmarkMethod(typeof(SimulationManager), "SimulationStep");
     }
     catch {
     }
 }