morpheus
7th March 2003, 08:39
Hello,
I would like to know the details about the headers which appear in the output of "compile with profile" option.

NPRao
7th March 2003, 08:49
morpheus,

Please refer to - Application Performance Guide - M2017 B US.pdf - Chapter 6- Profiling and Tracing.

Profiling and tracing
BAAN Application Performance Guide
53
6.2.3 Analyzing the profiler output
The meaning of the column headers is:
Count Number of times the function is carried out
Utime User time in seconds
Call Average time for certain function call
Perc % Percentage of total time
Stime System time in seconds
Rtime Real time in seconds
Alloc Number of allocated bytes
Free Released memory
Ticks Number of bshell ticks
Function Name of executed function
Each time in the output is the time used only in that function. The profile figures are
not cumulated.
So, if another function B has been called in function A, the time used in function B is
not taken into account for the time logged in function A.
The Rtime column is the most important column.
This is the time a function really takes (a user must wait).
For this reason, it is advisable to search for the highest values in this column.
The Count column is also very important.
The numbers in the Count column can be verified to see that the number is not too
high.
Because: count * call = rtime.
The Ticks column is also important.
The number of ticks indicates how may CPU ticks (instructions) are handled in the
bshell.
There is no relation between Rtime and Ticks because one tick take a fraction of a
second, but it can also take many minutes.
For example: A full table scan can be carried out in one bshell tick and can take
several seconds (or minutes). A calculation can be carried out where thousands of
bshell ticks are needed and only one second or less is taken.
So, a function with a high rtime and a low number of ticks, is probably a function in
which intensive database action has been implemented.
A function with a low rtime and a high number of ticks, is probably a function in
which a calculation or a fast database action with a lot of fetches has been done.

kmcinc
6th December 2004, 20:21
Are you sure about the document number? I can't find any document on Baan's support web site which starts with an 'M'.

NPRao
6th December 2004, 20:37
Yes. I think it was on the iBaanERP-5.2a(Reger) Document CD.

You have to contact BaaN Support to get it.