gem5
v20.1.0.0
|
#include "base/types.hh"
Go to the source code of this file.
Macros | |
#define | SMT_MAX_THREADS 4 |
The number of TPUs in any processor. More... | |
Functions | |
void | change_thread_state (ThreadID tid, int activate, int priority) |
Changes the status and priority of the thread with the given number. More... | |
Variables | |
int | maxThreadsPerCPU |
The maximum number of active threads across all cpus. More... | |
Defines SMT_MAX_THREADS.
Definition in file smt.hh.
#define SMT_MAX_THREADS 4 |
void change_thread_state | ( | ThreadID | tid, |
int | activate, | ||
int | priority | ||
) |
int maxThreadsPerCPU |
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 42 of file cpu_dummy.cc.