CheckerCPU: Make CheckerCPU runtime selectable instead of compile selectable
[gem5.git] / src / cpu / o3 / checker_builder.cc
index 73e8b516226dc231f54ed8c829a2af367f1f8704..757b1a87fedd1a51588eb108ea4a0b7ea38e0d45 100644 (file)
@@ -92,6 +92,7 @@ O3CheckerParams::create()
     temp = max_insts_all_threads;
     temp = max_loads_any_thread;
     temp = max_loads_all_threads;
+    temp++;
     Tick temp2 = progress_interval;
     params->progress_interval = 0;
     temp2++;
@@ -100,12 +101,9 @@ O3CheckerParams::create()
     params->dtb = dtb;
     params->system = system;
     params->cpu_id = cpu_id;
-#if FULL_SYSTEM
     params->profile = profile;
     params->interrupts = NULL;
-#else
     params->workload = workload;
-#endif
 
     O3Checker *cpu = new O3Checker(params);
     return cpu;