src/emulation/emulation.cc
/*
 * Gets the current time and stores it in a time spec structure.
 */
Gets the current time and stores it in a time spec structure.
Gets the current time and stores it in a time spec structure .
void Emulation::TimeGet(EmuTime *time) {
#ifdef _NES_OSLIN
  clock_gettime(CLOCK_MONOTONIC_RAW, time);
#else
  clock_gettime(CLOCK_MONOTONIC, time);
#endif
  return;
}
void Emulation :: TimeGet ( EmuTime * time ) { #ifdef _NES_OSLIN clock_gettime ( CLOCK_MONOTONIC_RAW , time ) ; #else clock_gettime ( CLOCK_MONOTONIC , time ) ; #endif return ; }
Gets the current time and stores it in a time spec structure.
Gets the current time and stores it in a time spec structure .