Added trackTiming

Tested on android (not yet in ios)
Eclipse autoformats documents, sorry for inconvenients if different.