simulavr
1.1.0
|
#include <traceval.h>
Public Member Functions | |
WarnUnknown (AvrDevice *core) | |
void | markReadUnknown (const TraceValue *t) |
bool | enabled (const TraceValue *t) const |
Returns true iff tracing a particular value is enabled. More... | |
![]() | |
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 | 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... | |
Private Attributes | |
AvrDevice * | core |
Very simple dumper which will simply warn on unknown read accesses on stderr.
Definition at line 273 of file traceval.h.
WarnUnknown::WarnUnknown | ( | AvrDevice * | core | ) |
Definition at line 394 of file traceval.cpp.
|
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!
Implements Dumper.
Definition at line 401 of file traceval.cpp.
|
virtual |
Called for all values which are read before they have been written.
Reimplemented from Dumper.
Definition at line 396 of file traceval.cpp.
References core, SystemClock::GetCurrentTime(), SystemClock::Instance(), TraceValue::name(), and AvrDevice::PC.
|
private |
Definition at line 281 of file traceval.h.
Referenced by markReadUnknown().