Go to the documentation of this file.
41 #ifndef __ARCH_ARM_LINUX_FS_WORKLOAD_HH__
42 #define __ARCH_ARM_LINUX_FS_WORKLOAD_HH__
54 #include "params/ArmFsLinux.hh"
63 using SkipFunc::SkipFunc;
70 using SkipFunc::SkipFunc;
157 uint32_t &tgid, std::string &next_task_str, int32_t &
mm);
168 std::string &next_task_str, int32_t &
mm)
override;
173 #endif // __ARCH_ARM_LINUX_FS_WORKLOAD_HH__
DumpStats(PCEventScope *s, const std::string &desc, Addr addr)
ArmFsLinuxParams Params
Boilerplate params code.
bool enableContextSwitchStatsDump
When enabled, dump stats/task info on context switches for Streamline and per-thread cache occupancy ...
const Params * params() const
PCEvent * kernelOops
Event to halt the simulator if the kernel calls oopses
PCEvent * debugPrintk
PC based event to skip the dprink() call and emulate its functionality.
OutputStream * taskFile
This is a file that is placed in the run directory that prints out mappings between taskIds and OS pr...
ArmFsWorkloadParams Params
void process(ThreadContext *tc) override
This function is called whenever the the kernel function "__switch_to" is called to change running ta...
ThreadContext is the external interface to all thread state for anything outside of the CPU.
void mapPid(ThreadContext *tc, uint32_t pid)
This function creates a new task Id for the given pid.
PCEvent * skipConstUDelay
Another PC based skip event for const_udelay().
void startup() override
startup() is the final initialization call before simulation.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual void getTaskDetails(ThreadContext *tc, uint32_t &pid, uint32_t &tgid, std::string &next_task_str, int32_t &mm)
Extracts the information used by the DumpStatsPCEvent by reading the thread_info pointer passed to __...
std::map< uint32_t, uint32_t > taskMap
This map stores a mapping of OS process IDs to internal Task IDs.
void dumpDmesg()
Dump the kernel's dmesg buffer to stdout.
PCEvent * skipUDelay
PC based event to skip udelay(<time>) calls and quiesce the processor for the appropriate amount of t...
PCEvent * kernelPanic
Event to halt the simulator if the kernel calls panic()
void initState() override
initState() is called on each SimObject when not restoring from a checkpoint.
void getTaskDetails(ThreadContext *tc, uint32_t &pid, uint32_t &tgid, std::string &next_task_str, int32_t &mm) override
Extracts the information used by the DumpStatsPCEvent64 by reading the task_struct pointer passed to ...
Generated on Wed Sep 30 2020 14:01:59 for gem5 by doxygen 1.8.17