Everything

TimerInfo


This class holds conditional timer information (return value of the debugger.Timer.Get function).

[Type]

class TimerInfo:
        Number = 0
        MaxTime = 0
        MaxClockCount = 0
        IsMaxOverflow = False
        MinTime = 0
        MinClockCount = 0
        IsMinOverflow = False
        AverageTime = 0
        AverageClockCount = 0
        IsAverageOverflow = False
        TotalTime = 0
        TotalClockCount = 0
        IsTotalOverflow = False
        PassCount = 0
        IsPassCountOverflow = False

[Variable]

Variable

Description

Number

This holds the timer event number.

MaxTime

This holds the maximum execution time.

MaxClockCount

This holds the maximum number of clocks to be executed.

IsMaxOverflow

This holds whether the maximum execution time or number of clocks was overflowed.

True: The maximum execution time or number of clocks was overflowed.

False: The maximum execution time or number of clocks was not overflowed.

MinTime

This holds the minimum execution time.

MinClockCount

This holds the minimum number of clocks to be executed.

IsMinOverflow

This holds whether the minimum execution time or number of clocks was overflowed.

True: The minimum execution time or number of clocks was overflowed.

False: The minimum execution time or number of clocks was not overflowed.

AverageTime

This holds the average execution time.

AverageClockCount

This holds the average execution number of clocks.

IsAverageOverflow

This holds whether the average execution time or number of clocks was overflowed.

True: The average execution time or number of clocks was overflowed.

False: The average execution time or number of clocks was not overflowed.

TotalTime

This holds the total execution time.

TotalClockCount

This holds the total execution number of clocks.

IsTotalOverflow

This holds whether the total execution time or number of clocks was overflowed.

True: The total execution time or number of clocks was overflowed.

False: The total execution time or number of clocks was not overflowed.

PassCount

This holds the pass count.

IsPassCountOverflow

This holds whether the pass count was overflowed.

True: The pass count was overflowed.

False: The pass count was not overflowed.

[Detailed description]

-

TimerInfo is a class, and it is passed as the return value when the debugger.Timer.Get function is executed.

[Example of use]

>>>info = debugger.Timer.Get()
1 Total: 2000 ns, Pass Count: 4 , Average: 500 ns, Max: 800 ns, Min: 300 ns
>>>print info[0].Number
1
>>>print info[0].MaxTime
800
>>>print info[0].PassCount
4
>>>print info[0].IsMaxOverflow
False
>>>