I want to measure times in my application at the NDK level. I would preferably like to do it the Java way with milliseconds granularity. In Java, a simple call to
System.currentTimeMilliseconds()
does the trick. Is there an exact duplicate call in NDK, or will we need to use time.h and do calculations the standard C way?