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