By Results text, you mean the log information displayed in the Results tab, correct?
You will probably need to write out the start/stop times from code within your dataflow. For example, there is a runtime parameter dataflow.start that will give you the time at which processing started. So, in the initialize function of some operator, you could write this value to the log (the content displayed in the Results tab). Use the log.information function:
log.information(string.concatenate("Start time: ", datetime.string(dataflow.start))
Note that each partition will print out this value, so you will see it repeated multiple times in the log.
To get the end time, you need to print out the current time.
log.information(string.concatenate("End time: ",datetime.string(datetime.timestamp())
Again, each partition will print this out, so you may want to include the record.partition runtime parameter in the logging entry. Perhaps
log.information(string.concatenate("Partition: ",record.partition,"\tEnd time: ",datetime.string(datetime.timestamp())
At this point, I'm just pulling data in from a SQL Query input and dumping to trash - just to see what my throughput times are. So I don't have any objects with functions just yet.
Being able to see the start and end time of a dataflow, or at least an elapsed time is pretty standard. Any plans to make that part of the native functionality without the need to program code?
If so, that would be great!
Here is the end of a log file copied from the results tab:
dataflow controller - ETASK-0037-N: Processing has completed successfully. (PatientFact.controller)
Would it be the value between the statistic tags? In seconds?