90 void CalculateStatistic();
105 std::map<unsigned int, IrqStatisticPerVector>
entries;
116 #endif // ifndef SWIG 139 unsigned int GetNewPc(
unsigned int &vector_index);
140 void SetIrqFlag(
Hardware *,
unsigned int vector_index);
141 void ClearIrqFlag(
unsigned int vector_index);
142 void IrqHandlerStarted(
unsigned int vector_index);
143 void IrqHandlerFinished(
unsigned int vector_index);
145 void DebugVerifyInterruptVector(
unsigned int vector_index,
const Hardware* source);
146 void DebugDumpTable();
167 #endif // ifndef SWIG std::ostream & operator<<(std::ostream &, const IrqStatisticEntry &)
Basic AVR device, contains the core functionality.
SystemClockOffset handlerFinished
SystemClockOffset handlerStarted
SystemClockOffset flagSet
unsigned int irqStackSize
IrqStatisticEntry long_SetClear
IrqStatisticEntry long_StartedFinished
SystemClockOffset startedFinished
IrqStatistic irqStatistic
SystemClockOffset setClear
SystemClockOffset setStarted
IrqFunktor(HWIrqSystem *i, void(HWIrqSystem::*_fp)(unsigned int), unsigned int _vector)
Build a register for TraceValue's.
bool enableIRQStatistic
global switch to enable irq statistic (default is disabled)
unsigned int vectorTableSize
number of entries supported by the device, not bytes
IrqStatisticEntry short_StartedFinished
long long SystemClockOffset
std::vector< Hardware * > irqStack
priority queue of pending interrupts (i.e. waiting to be processed)
SystemClockOffset setFinished
IrqStatisticEntry long_SetFinished
IrqStatisticEntry short_SetStarted
std::vector< TraceValue * > irqTrace
SystemClockOffset flagCleared
IrqStatisticEntry long_SetStarted
std::map< unsigned int, IrqStatisticPerVector > entries
IrqStatisticEntry short_SetFinished
IrqStatisticEntry short_SetClear
std::vector< const Hardware * > debugInterruptTable