InterconnectProfileEvent Class Reference

#include <interconnect_profile.hh>

List of all members.

Public Member Functions

 InterconnectProfileEvent (InterconnectProfile *_profiler, INTERCONNECT_PROFILE_TYPE _type)
void process ()
virtual const char * description ()

Public Attributes

InterconnectProfileprofiler
INTERCONNECT_PROFILE_TYPE traceType


Detailed Description

This class implements a profile event. It schedules itself at regular intervals when it has been started and calls the appropriate methods for the statistics to be written to the profile files.

Author:
Magnus Jahre

Definition at line 103 of file interconnect_profile.hh.


Constructor & Destructor Documentation

InterconnectProfileEvent::InterconnectProfileEvent ( InterconnectProfile _profiler,
INTERCONNECT_PROFILE_TYPE  _type 
) [inline]

Initalises the member variables.

Parameters:
_profiler A pointer to the associated profiler object
_type The type of profiler

Definition at line 117 of file interconnect_profile.hh.

References profiler, and traceType.


Member Function Documentation

virtual const char* InterconnectProfileEvent::description (  )  [inline, virtual]

Returns:
A textual description of the event

Definition at line 149 of file interconnect_profile.hh.

void InterconnectProfileEvent::process (  )  [inline]

This method is called when the event is serviced. It calls a method of the profiler object according to the event type and schedules itself RESOLUTION ticks later.

Definition at line 130 of file interconnect_profile.hh.

References profiler, traceType, InterconnectProfile::writeChannelEntry(), and InterconnectProfile::writeSendEntry().


The documentation for this class was generated from the following file:
Generated on Tue Jun 5 12:55:20 2007 for M5InterconnectExtensions by  doxygen 1.4.7