disable unsupported function RCCE_wtime

This commit is contained in:
Stefan Lankes 2011-03-24 11:39:36 +01:00
parent 966338f590
commit ccb8e7c73a
2 changed files with 4 additions and 0 deletions

View file

@ -143,7 +143,9 @@ int RCCE_power_domain_size(void);
int RCCE_init(int *, char***);
int RCCE_finalize(void);
#if 0 // Currently, not supported by MetalSVM
double RCCE_wtime(void);
#endif
int RCCE_ue(void);
int RCCE_num_ues(void);
#ifdef GORY

View file

@ -409,6 +409,7 @@ int RCCE_finalize(void){
//--------------------------------------------------------------------------------------
// clean up at end of library usage (memory unmapping)
//--------------------------------------------------------------------------------------
#if 0 // Currently, not supported by MetalSVM
double RCCE_wtime(void) {
#ifdef SCC
return ( ((double)_rdtsc())/(RC_REFCLOCKMHZ*1.e6));
@ -416,6 +417,7 @@ double RCCE_wtime(void) {
return (omp_get_wtime());
#endif
}
#endif
//--------------------------------------------------------------------------------------
// FUNCTION: RCCE_ue