33 #include "params/DerivO3CPU.hh"
36 DerivO3CPUParams::create()
41 actual_num_threads = 1;
43 if (workload.size() > numThreads) {
44 fatal(
"Workload Size (%i) > Max Supported Threads (%i) on This CPU",
45 workload.size(), numThreads);
46 }
else if (workload.size() == 0) {
47 fatal(
"Must specify at least one workload!");
53 (numThreads >= workload.size()) ? numThreads : workload.size();
56 numThreads = actual_num_threads;
58 if (actual_num_threads > 1 && smtFetchPolicy == FetchPolicy::SingleThread)
59 smtFetchPolicy = FetchPolicy::RoundRobin;