From ccb8e7c73a1a17c5c82a8f990654e5cb92ae7955 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Thu, 24 Mar 2011 11:39:36 +0100 Subject: [PATCH] disable unsupported function RCCE_wtime --- arch/x86/include/asm/RCCE.h | 2 ++ arch/x86/scc/RCCE_admin.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/x86/include/asm/RCCE.h b/arch/x86/include/asm/RCCE.h index ca694eb9..128ba664 100644 --- a/arch/x86/include/asm/RCCE.h +++ b/arch/x86/include/asm/RCCE.h @@ -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 diff --git a/arch/x86/scc/RCCE_admin.c b/arch/x86/scc/RCCE_admin.c index f6ab48aa..17d620ef 100644 --- a/arch/x86/scc/RCCE_admin.c +++ b/arch/x86/scc/RCCE_admin.c @@ -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