There is a issue with the path related to non availability of realtime clock in this patch. I have forgotten to store last returned dummy clock value and then increment the same to simulate a running dummy clock in this case for the logic.
I will release the updated patch later today