gem5  v20.0.0.3
Variables
base.cc File Reference
#include "cpu/base.hh"
#include <iostream>
#include <sstream>
#include <string>
#include "arch/generic/tlb.hh"
#include "base/cprintf.hh"
#include "base/loader/symtab.hh"
#include "base/logging.hh"
#include "base/output.hh"
#include "base/trace.hh"
#include "cpu/checker/cpu.hh"
#include "cpu/cpuevent.hh"
#include "cpu/profile.hh"
#include "cpu/thread_context.hh"
#include "debug/Mwait.hh"
#include "debug/SyscallVerbose.hh"
#include "debug/Thread.hh"
#include "mem/page_table.hh"
#include "params/BaseCPU.hh"
#include "sim/clocked_object.hh"
#include "sim/full_system.hh"
#include "sim/process.hh"
#include "sim/sim_events.hh"
#include "sim/sim_exit.hh"
#include "sim/system.hh"
#include "sim/stat_control.hh"

Go to the source code of this file.

Variables

int maxThreadsPerCPU = 1
 The maximum number of active threads across all cpus. More...
 

Variable Documentation

◆ maxThreadsPerCPU

int maxThreadsPerCPU = 1

The maximum number of active threads across all cpus.

Used to initialize per-thread statistics in the cache.

NB: Be careful to only use it once all the CPUs that you care about have been initialized

The maximum number of active threads across all cpus.

Definition at line 82 of file base.cc.

Referenced by BaseCPU::BaseCPU().


Generated on Fri Jul 3 2020 15:53:08 for gem5 by doxygen 1.8.13