Take sampling factor into account in duration data

Change-Id: Ia382c257cfa528cce1ba82cb52a1dd2ba853a73c