simulavr
1.1.0
|
#include <traceval.h>
Public Member Functions | |
virtual void | setActiveSignals (const TraceSet &act) |
virtual void | start () |
Called before start of tracing. More... | |
virtual void | stop () |
Called after stopping tracing. More... | |
virtual void | cycle () |
Called for each cycle before dumping the values. More... | |
virtual void | markRead (const TraceValue *t) |
virtual void | markReadUnknown (const TraceValue *t) |
virtual void | markWrite (const TraceValue *t) |
virtual void | markChange (const TraceValue *t) |
virtual | ~Dumper () |
Destructor, called for all dumpers at the very end of the run. More... | |
virtual bool | enabled (const TraceValue *t) const =0 |
Returns true iff tracing a particular value is enabled. More... | |
Generic interface for a trace value processor
Definition at line 231 of file traceval.h.
|
inlinevirtual |
Destructor, called for all dumpers at the very end of the run.
Should close files etc.
Definition at line 262 of file traceval.h.
References TraceValue::enabled().
|
inlinevirtual |
Called for each cycle before dumping the values.
Reimplemented in DumpVCD.
Definition at line 244 of file traceval.h.
|
pure virtual |
Returns true iff tracing a particular value is enabled.
FIXME: For a lot of values to trace, checking enabled() each time by doing find on a map() could be slow. Here is potential for more optimization!
Implemented in DumpVCD, and WarnUnknown.
|
inlinevirtual |
Called when the value has changed. This is mainly used for values which do not have READ/WRITE notification by checking for changes after each clock cycle. All writes changing something also appear as a change.
Reimplemented in DumpVCD.
Definition at line 258 of file traceval.h.
Referenced by TraceValue::dump().
|
inlinevirtual |
Called when a traced value has been read (as long as it supports read logging!)
Reimplemented in DumpVCD.
Definition at line 248 of file traceval.h.
Referenced by TraceValue::dump().
|
inlinevirtual |
Called for all values which are read before they have been written.
Reimplemented in WarnUnknown.
Definition at line 250 of file traceval.h.
Referenced by TraceValue::dump().
|
inlinevirtual |
Called when a traced value has been written (as long as it supports write logging!)
Reimplemented in DumpVCD.
Definition at line 254 of file traceval.h.
Referenced by TraceValue::dump().
|
inlinevirtual |
Called with the set of all active signals, after they've been specified.
Reimplemented in DumpVCD.
Definition at line 236 of file traceval.h.
Referenced by DumpManager::addDumper().
|
inlinevirtual |
Called before start of tracing.
Reimplemented in DumpVCD.
Definition at line 239 of file traceval.h.
|
inlinevirtual |