From: jzhou Date: Thu, 12 May 2011 22:59:20 +0000 (+0000) Subject: Now the cache adapt version works X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7289f0104bfc53b76229b027811b1a445afadad2;p=IRC.git Now the cache adapt version works --- diff --git a/Robust/src/Runtime/bamboo/multicoremem.h b/Robust/src/Runtime/bamboo/multicoremem.h index 088eef49..2473bdde 100644 --- a/Robust/src/Runtime/bamboo/multicoremem.h +++ b/Robust/src/Runtime/bamboo/multicoremem.h @@ -53,7 +53,7 @@ #elif defined GC_SMALLPAGESIZE #define BAMBOO_SMEM_SIZE ((unsigned int)(BAMBOO_PAGE_SIZE)) #elif defined GC_SMALLPAGESIZE2 -#define BAMBOO_PAGE_SIZE ((unsigned int)(16 * 1024)) // (4096) +//#define BAMBOO_PAGE_SIZE ((unsigned int)(16 * 1024)) // (4096) #define BAMBOO_SMEM_SIZE ((unsigned int)(BAMBOO_PAGE_SIZE)) #elif defined GC_LARGEPAGESIZE2 #define BAMBOO_PAGE_SIZE ((unsigned int)(4 * 64 * 1024)) // 64K diff --git a/Robust/src/Runtime/bamboo/multicoreruntime.c b/Robust/src/Runtime/bamboo/multicoreruntime.c index 88f7d527..f004d9ad 100644 --- a/Robust/src/Runtime/bamboo/multicoreruntime.c +++ b/Robust/src/Runtime/bamboo/multicoreruntime.c @@ -287,6 +287,8 @@ void CALL11(___System______exit____I, // gc_profile mode, output gc prfiling data #ifdef MULTICORE_GC if(STARTUPCORE == BAMBOO_NUM_OF_CORE) { + BAMBOO_PRINT(BAMBOO_GET_EXE_TIME()); + BAMBOO_PRINT(0xbbbbbbbb); CACHEADAPT_DISABLE_TIMER(); GC_OUTPUT_PROFILE_DATA(); }