gem5
|
A class to skip udelay() and related calls in the kernel. More...
#include <events.hh>
Public Member Functions | |
UDelayEvent (PCEventQueue *q, const std::string &desc, Addr addr, uint64_t mult, uint64_t div) | |
virtual void | process (ThreadContext *xc) |
Public Member Functions inherited from SkipFuncEvent | |
SkipFuncEvent (PCEventQueue *q, const std::string &desc, Addr addr) | |
Public Member Functions inherited from PCEvent | |
PCEvent (PCEventQueue *q, const std::string &desc, Addr pc) | |
virtual | ~PCEvent () |
virtual const std::string | name () const |
std::string | descr () const |
Addr | pc () const |
bool | remove () |
Private Attributes | |
uint64_t | argDivToNs |
value to divide arg by to create ns. More... | |
uint64_t | argMultToNs |
value to multiple arg by to create ns. More... | |
Additional Inherited Members | |
Protected Attributes inherited from PCEvent | |
std::string | description |
PCEventQueue * | queue |
Addr | evpc |
A class to skip udelay() and related calls in the kernel.
This class has two additional parameters that take the argument to udelay and manipulated it to come up with ns and eventually ticks to quiesce for. See descriptions of argDivToNs and argMultToNs below.
|
inline |
|
virtual |
Reimplemented from SkipFuncEvent.
Definition at line 77 of file events.cc.
References argDivToNs, argMultToNs, AlphaISA::getArgument(), SkipFuncEvent::process(), and PseudoInst::quiesceNs().
|
private |
|
private |