35 #include "params/DerivO3CPU.hh"
38 DerivO3CPUParams::create()
43 actual_num_threads = 1;
45 if (workload.size() > numThreads) {
46 fatal(
"Workload Size (%i) > Max Supported Threads (%i) on This CPU",
47 workload.size(), numThreads);
48 }
else if (workload.size() == 0) {
49 fatal(
"Must specify at least one workload!");
55 (numThreads >= workload.size()) ? numThreads : workload.size();
58 numThreads = actual_num_threads;
61 std::string round_robin_policy =
"RoundRobin";
62 std::string single_thread =
"SingleThread";
64 if (actual_num_threads > 1 && single_thread.compare(smtFetchPolicy) == 0)
65 smtFetchPolicy = round_robin_policy;
67 smtFetchPolicy = smtFetchPolicy;
bool FullSystem
The FullSystem variable can be used to determine the current mode of simulation.
int16_t ThreadID
Thread index/ID type.