move DurationTimer def to the end

Change-Id: I3b0c886d60a1c1380b3e3fdd145b44301f5e6614