sysinfo( SI_RELEASE, &buf[0], 4 );  if (strcmp( "5.7", &buf[0] )==0) { res = (jlong)3; } else { struct timespec tp; clock_getres( CLOCK_HIGHRES, &tp ); res = (jlong)tp.tv_nsec; }  return res; #endif 
if (strcmp( "5.7", &buf[0] )==0) { /* Hard-coded for Solaris 7, since clock_getres isn't available */ res = (jlong)3; } else { struct timespec tp; clock_getres( CLOCK_HIGHRES, &tp ); res = (jlong)tp.tv_nsec; } #endif /* SOLARIS */ 
JNIEXPORT jlong JNICALL Java_com_sun_j3d_utils_timer_J3DTimer_getNativeTimerResolution  (JNIEnv *env, jclass clazz) {#ifdef SOLARIS  char buf[4];  jlong res=0;  sysinfo( SI_RELEASE, &buf[0], 4 );  if (strcmp( "5.7", &buf[0] )==0) {      res = (jlong)3;  } else {      struct timespec tp;      clock_getres( CLOCK_HIGHRES, &tp );      res = (jlong)tp.tv_nsec;  }  return res;#endif#ifdef WIN32  LARGE_INTEGER freq;  QueryPerformanceFrequency( &freq );  if ( (jlong)freq.QuadPart==0 )    return 1;  return (jlong) ceil(1000000000/((jlong)freq.QuadPart));#endif#ifdef __linux__  return ((jlong)1000000000) /sysconf (_SC_CLK_TCK); #endif}
9065	/local/tlutelli/issta_data/temp/c/2005_temp/2005/9065/56d4a98f9b8f81ad37bcf8a5f09d7e986b6fdadc/J3DTimer.c/clean/src/native/share/J3DTimer.c