For sure you can include custom timers...
You can do that at the time you are recording the script and clicking on the clock button (do not forget to "start" and "strop" your clock)
Or you can directly add into the code the following
See the BDL code example below:
dcltrans transaction TMain var fValue : float; nTime : number; begin MeasureStart("TimeMeasure"); wait 1.0; MeasurePause("TimeMeasure"); wait 2.0; MeasureResume("TimeMeasure"); wait 3.0; nTime := MeasureStop("TimeMeasure"); MeasureGet("TimeMeasure", MEASURE_TIMER_RESPONSETIME, MEASURE_KIND_SUM, fValue); write("time = "); write(nTime); writeln; write("value = "); write(fValue); writeln; end TMain;
There is also a lot of functions related to CustomMeasures... MeasureSet, MeasureGet and others. With that you can have total control about the custom measures in your script.
I hope you got your answer!
PS: Save this link Benchmark Description Language (BDL) Reference. It is very very very usefull to me: