Hello.
I am trying to measure the elapsed time of this filter (calculates 10 second moving average for column 'PowerRail'):
...
tStart = HP Time();
new_col << Formula( Summation( i = 1,10,Lag(dt:PowerRail,i))/10);
tStop = HP Time();
...
It appears that instead of progressing linearly, a new thread is invoked and the actual time to complete the operation is not realized.
As it stands, 200uS is measured which is not realistic. The CSV file with the 'PowerRail' column is 11GB in size. 200uS is more likely the time to invoke the new thread.
At scripts end, the JMP table opens and the moving average values are shown in the visible area of the table, but if I scroll down I see that the formula hasn't acutally completed processing the entire column.
Is it possible to run the formula in an atomic operation, i.e., not in a different thread, so that the actual time to complete is measured?
Thanks in advance.