Code profiler

Info about design forms features
PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55

Code profiler

Postby PetrS » 16 Jul 2014, 06:35

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.
Ing. Petr Slepicka
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!

jkrsik
Posts: 30
Joined: 06 Oct 2014, 13:10

Re: Code profiler

Postby jkrsik » 05 Jan 2016, 13:00

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


Return to “Design forms features”

Who is online

Users browsing this forum: No registered users and 2 guests