From 7289f0104bfc53b76229b027811b1a445afadad2 Mon Sep 17 00:00:00 2001 From: jzhou Date: Thu, 12 May 2011 22:59:20 +0000 Subject: [PATCH] Now the cache adapt version works --- Robust/src/Runtime/bamboo/multicoremem.h | 2 +- Robust/src/Runtime/bamboo/multicoreruntime.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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(); } -- 2.34.1