Page 1 of 1

Code profiler

Posted: 16 Jul 2014, 06:35
by PetrS
size=150Design Forms Builder Code Profiler/size
Version 0.1.49 and higher

Code profiler is new tool available in SDF Builder (Main menu -> View -> Open code profiler).
Code profiler measures the execution time of each instruction and shows it in the table:

ubTable columns:/b/u
list
*CodeLine - Line of the code where the instruction definition begins/*:m
*Instruction - Type of instruction. /*:m
*Calculate time μs - Time spent on instruction execution (without drawing the output)./*:m
*Draw time μs - Time spent on instruction execution and drawing the output. /*:m
*CLC file - Path to the CLC file which contains the instruction/*:m/list:u


ibNote:/b/i
You can profile pure execution (iProfile calculation/i) or execution + drawing the output (iProfile drawing/i) by clicking the button in the profiler header.

ibNote:/b/i
You can get some values in iCalculate time/i column even when profiling drawing. This is caused by calling command "Calculate()" on ExternCLC.

ibNote:/b/i
Time values are expressed in microseconds (10E-6 second).

ibNote:/b/i
Extern CLC files must be recompiled and re-exported in the latest SDF version to get non zero CodeLines.

ibNote:/b/i
Time of 'composite' instructions (like BLOCK, IF, FOR, WHILE, ...) is the sum of nested instructions.

Re: Code profiler

Posted: 05 Jan 2016, 13:00
by jkrsik
size=150Code profiler -> Trace viewer/size
Version P - 16.098.25+


Code profiler evolved to Trace viewer. For more informations follow topic url=http://designforms.net/forum/viewtopic.php?f=2&t=2258Trace viewer/url