﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
770	A new frequence oriented profiler for TOL functions	Víctor de Buen Remiro	Jorge	"Current TOL profiler builds a report about execution time of each TOL function and is controlled with 
{{{
  Real TolOprProfiler.Enabled := True;
  ...
  Real TolOprProfiler.Dump(Text pathPrefix) ;
}}}

Current measurement method is to take the difference of values of BSys::SessionTime() between starting and ending of each function call.

Then, this total time integrates the time used by all functions called inside a function. So almost always the time is assigned to functions like {{{EvalSet}}}, {{{For}}}, {{{While}}}, etc.; which has no significance in order to know were the time is lost.

A complementary measurement could be done by means of an external process that annotates the current running function at regular time interval. Dividing the total time proportionally to the frequence of times each function has been found as the current one, we can get a good aproximation of real time lost in each one."	enhancement	assigned	normal	Mantainance	Kernel		major			
