gem5  v20.1.0.5
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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/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 80 of file base.cc.


Generated on Thu Mar 18 2021 12:09:22 for gem5 by doxygen 1.8.17