Add elapsed-time member.
Add signals and emission function for elapsed time of a function.