I want to measure the time in my application at the NDK level. I would prefer to do this with the Java method with millisecond granularity. In Java, a simple call
System.currentTimeMilliseconds ()
does the trick. Is there an exact duplicate call in the NDK, or will we need to use time.h and perform the calculations in the standard C way?
source
share