prl use tick for measure time elapsed