[proflog] Fix time issue on sampling