3

I'm trying to measure time ellapsed between two events in android using the timestamp in logcat's message, but unfortunately I noticed a strange thing:the timestamp for the second event is earlier than the first one. It looks like the system time had been reset. How could this happen?

skipper
  • 245
  • 5
  • 15
  • Instead of relying on the timestamp in logcat, you could use something like `System.currentTimeMillis()` and then log that during the execution of your events. – Bidhan May 21 '15 at 03:36

0 Answers0