PerformanceEventInfo


This class holds performance measurement event information (return value of the debugger.Performance.Information function). [RH850][E1/E2/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

StartAddress

This holds an address starting performance measurement.

StartData

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

StartPerformanceType

This holds the type which start performance measurement.

Type

Description

PerformanceType.Execution

Start/end performance measurement at execution

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

This holds the type which end performance measurement.

EndData

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

EndPerformanceType

This holds the type which end performance measurement.

Type

Description

PerformanceType.Execution

Start/end performance measurement at execution

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

This holds the mode for performance measurement.

Mode

Description

PerformanceMode.PassCount

Pass count

PerformanceMode.NewCount

New count

PerformanceMode.MinCount

Minium count

PerformanceMode.MaxCount

Maximum count

PerformanceMode.AddCount

Total count

PerformanceItem

This holds performance measurement items.

Item

Description

PerformanceItem.FlashRomDataRequest

Flash ROM data request count

PerformanceItem.CpuFetchRequestHit

Response count for CPU issued instruction fetch request

PerformanceItem.CpuFetchRequest

CPU 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.