PerformanceEventInfo


This class holds performance measurement event information (return value of the debugger.Performance.Information function). [RH850][E1/E20/Full-spec emulator]

[Type]

class PerformanceEventInfo:
        Number = 0
        Name = ""
        Enable = False
        StartAddress = ""
        StartData = ""
        StartPerformanceType = PerformanceType.Execution
        EndAddress = ""
        EndData = ""
        EndPerformanceType = PerformanceType.Execution
        PerformanceMode = PerformanceMode.MaxCount
        PerformanceItem = PerformanceItem.AllFetchCall

[Variable]

Variable

Description

Number

This holds the performance measurement event number.

Name

This holds the name of the performance measurement.

Enable

This holds whether performance measurement is enabled or not.

True: Enabled

False: Disabled (default)

StartAddress

Specify an address starting performance measurement.

StartData

Specify a data condition (number) of an address starting performance measurement.

StartPerformanceType

Specify the type which start performance measurement.

The types that can be specified are shown below.

Type

Description

PerformanceType.Execution

Start/end performance measurement at execution (default)

PerformanceType.Read

Start/end performance measurement at data read

PerformanceType.Write

Start/end performance measurement at data write

PerformanceType.Access

Start/end performance measurement at data access

EndAddress

Specify the type which end performance measurement.

EndData

Specify a data condition (number) of an address ending performance measurement.

EndPerformanceType

Specify the type which end performance measurement.

The types that can be specified are shown below.

Type

Description

PerformanceType.Execution

Start/end performance measurement at execution (default)

PerformanceType.Read

Start/end performance measurement at data read

PerformanceType.Write

Start/end performance measurement at data write

PerformanceType.Access

Start/end performance measurement at data access

PerformanceMode

Specify the mode for performance measurement.

The modes that can be specified are shown below.

Mode

Description

PerformanceMode.PassCount

Pass count

PerformanceMode.NewCount

New count

PerformanceMode.MinCount

Minium count

PerformanceMode.MaxCount

Maximum count

PerformanceMode.AddCount

Total count

PerformanceItem

Specify performance measurement items.

The items that can be specified are shown below.

Item

Description

PerformanceItem.FlashRomDataRequest

Flash ROM data request count

PerformanceItem.IfuFetchRequestHit

Response count for IFU issued instruction fetch request

PerformanceItem.IfuFetchRequest

IFU issued instruction fetch request count

PerformanceItem.DisableInterruptCycle

Interrupt disable cycle of DI/EI

PerformanceItem.NoInterruptCycle

Non-interrupt cycle

PerformanceItem.ClockCycle

Clock cycle

PerformanceItem.ALLInstructionSyncException

All instruction sync exception count

PerformanceItem.AllInstructionAsyncException

All instruction async exception count

PerformanceItem.FetchFELevelInterrupt

FE level interrupt count

PerformanceItem.FetchEILevelInterrupt

EI level interrupt count

PerformanceItem.AllFetchBranch

Branch instruction count

PerformanceItem.AllFetchCall

All instruction count

[Detailed description]

-

TimerEventInfo is a class, and it is passed as the return value when the debugger.Performance.Information function is executed.