Skip to main content
Open topic with navigation CAPL Functions » Classes » CAPLProfiler

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. Every Start() 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). Note
The methods are linked to the description of the corresponding CAPL function.
• Technical References are only available in English