Otawa  0.10
otawa::StatCollector::Collector Class Referenceabstract

This interface class must be implemented by any program that wants to collect statistics for the current statistics information. More...

#include <otawa/stats/StatCollector.h>

Inherited by MyCollector, and Summer.

Public Member Functions

virtual void enter (const ContextualStep &step)=0
 
virtual void collect (const Address &address, t::uint32 size, int value)=0
 Called for each program block for which a statistics exists. More...
 
virtual void leave (void)=0
 

Detailed Description

This interface class must be implemented by any program that wants to collect statistics for the current statistics information.

Member Function Documentation

void otawa::StatCollector::Collector::collect ( const Address address,
t::uint32  size,
int  value 
)
pure virtual

Called for each program block for which a statistics exists.

Parameters
addressBlock address.
sizeBlock size (in bytes).
valueStatistics value for the block.
virtual void otawa::StatCollector::Collector::enter ( const ContextualStep step)
pure virtual
virtual void otawa::StatCollector::Collector::leave ( void  )
pure virtual

The documentation for this class was generated from the following files: