Returns the current time in milliseconds
long currentTimeMillis() {
struct timeval tv;
gettimeofday(&tv,NULL);
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
}
Returns the current time in milliseconds
long currentTimeMillis() {
struct timeval tv;
gettimeofday(&tv,NULL);
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
}
本文标题:android NDK currentTimeMillis
本文链接:https://www.haomeiwen.com/subject/pztlxctx.html
网友评论