|
SST 16.0.0
Structural Simulation Toolkit
|
Class that can attach to Clock and Event Handlers to monitor the state of variables. More...
#include <watchPoint.h>
Data Structures | |
| class | Logic |
| Base class for performing comparisons and logic operations for determining when the WatchPoint triggers. More... | |
| class | WPAction |
| WatchPoint Action Inner Classes. More... | |
| class | InteractiveWPAction |
| class | PrintTraceWPAction |
| class | CheckpointWPAction |
| class | PrintStatusWPAction |
| class | SetVarWPAction |
| class | ShutdownWPAction |
Public Types | |
| enum | HANDLER : unsigned { NONE = 0 , BEFORE_CLOCK = 1 , AFTER_CLOCK = 2 , BEFORE_EVENT = 4 , AFTER_EVENT = 8 , ALL = 15 } |
| enum | LogicOp : unsigned { AND = 0 , OR = 1 , UNDEFINED = 2 } |
Public Member Functions | |
| WatchPoint (size_t index, const std::string &name, Core::Serialization::ObjectMapComparison *obj) | |
| uintptr_t | registerHandler (const AttachPointMetaData &UNUSED(mdata)) override |
| void | beforeHandler (uintptr_t UNUSED(key), const Event *UNUSED(ev)) override |
| void | afterHandler (uintptr_t UNUSED(key)) override |
| void | beforeHandler (uintptr_t UNUSED(key), const Cycle_t &UNUSED(cycle)) override |
| void | afterHandler (uintptr_t UNUSED(key), const bool &UNUSED(ret)) override |
| std::string | getName () |
| size_t | getBufferSize () |
| void | printTriggerRecord () |
| void | printTrace () |
| void | setVerbosity (uint32_t v) |
| void | msg (const std::string &msg) |
| void | setHandler (unsigned handlerType) |
| std::string | handlerToString (HANDLER h) |
| void | printHandler (std::stringstream &ss) |
| void | genericHandler (HANDLER h) |
| void | printWatchpoint (std::stringstream &ss) |
| void | resetTraceBuffer () |
| bool | checkReset () |
| void | printAction (std::stringstream &ss) |
| void | addTraceBuffer (Core::Serialization::TraceBuffer *tb) |
| void | addObjectBuffer (Core::Serialization::ObjectBuffer *ob) |
| void | addComparison (Core::Serialization::ObjectMapComparison *cmp) |
| void | addLogicOp (LogicOp op) |
| void | setAction (WPAction *action) |
Static Public Attributes | |
| static const uint32_t | VMASK = 0x10 |