plotter: add timestamps (integer counter and getCurrentTime)