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"
65 using SkipFunc::SkipFunc;
72 using SkipFunc::SkipFunc;
154 uint32_t &tgid, std::string &next_task_str, int32_t &
mm);
165 std::string &next_task_str, int32_t &
mm)
override;
171 #endif // __ARCH_ARM_LINUX_FS_WORKLOAD_HH__
PARAMS(ArmFsLinux)
Boilerplate params code.
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 __...
PCEvent * skipUDelay
PC based event to skip udelay(<time>) calls and quiesce the processor for the appropriate amount of t...
PCEvent * skipConstUDelay
Another PC based skip event for const_udelay().
void mapPid(ThreadContext *tc, uint32_t pid)
This function creates a new task Id for the given pid.
void initState() override
initState() is called on each SimObject when not restoring from a checkpoint.
bool enableContextSwitchStatsDump
When enabled, dump stats/task info on context switches for Streamline and per-thread cache occupancy ...
std::map< uint32_t, uint32_t > taskMap
This map stores a mapping of OS process IDs to internal Task IDs.
PCEvent * debugPrintk
PC based event to skip the dprink() call and emulate its functionality.
PCEvent * kernelPanic
Event to halt the simulator if the kernel calls panic()
void startup() override
startup() is the final initialization call before simulation.
ThreadContext is the external interface to all thread state for anything outside of the CPU.
void dumpDmesg()
Dump the kernel's dmesg buffer to stdout.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
OutputStream * taskFile
This is a file that is placed in the run directory that prints out mappings between taskIds and OS pr...
void process(ThreadContext *tc) override
This function is called whenever the the kernel function "__switch_to" is called to change running ta...
PCEvent * kernelOops
Event to halt the simulator if the kernel calls oopses
DumpStats(PCEventScope *s, const std::string &desc, Addr addr)
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 ...
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Sun Jul 30 2023 01:56:47 for gem5 by doxygen 1.8.17