Class: CAPLProfiler
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE This class is used to measure how long the execution of some CAPL code – a function, or a part of a function – takes in realtime. You can use it to find code which takes longer than expected, maybe creating performance problems in the simulation. EveryStart() call of the profiler should be matched with a Stop() call, and it doesn’t make sense to let the profiler running while exiting a handler or calling one of the TestWait… functions.
You cannot create CAPLProfiler variables on the stack (with the stack keyword).
NoteThe methods are linked to the description of the corresponding CAPL function.
- Constructor
- Destructor
- Method Syntax
- Start
- Stop
- Reset
- GetAverageCallTimeNS
- GetCallCount
- GetLastCallTimeNS
- GetMaximumCallTimeNS