This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* cpu_features_get_time_usec: | |
* | |
* Gets time in microseconds. | |
* | |
* Returns: time in microseconds. | |
**/ | |
retro_time_t cpu_features_get_time_usec(void) | |
{ | |
struct timeval tv; | |
gettimeofday(&tv,NULL); | |
return (1000000 * tv.tv_sec + tv.tv_usec); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment