Remove the boundary of cache access sampling. Add output of the changed cache policy...
[IRC.git] / Robust / src / Runtime / bamboo / multicoretask.c
index c2e55abea944d13de6b8ef202e584f53d5ffe528..da111ec92f9b7bf83f8f9e4ef206921bbbf479f4 100644 (file)
@@ -378,9 +378,11 @@ void initruntimedata() {
 #ifdef GC_CACHE_ADAPT
   gccachestage = false;
   // enable the timer interrupt
-  bamboo_tile_timer_set_next_event(500000000); // TODO
+#ifdef GC_CACHE_SAMPLING
+  bamboo_tile_timer_set_next_event(GC_TILE_TIMER_EVENT_SETTING); // TODO
   bamboo_unmask_timer_intr();
   bamboo_dtlb_sampling_process();
+#endif // GC_CACHE_SAMPLING
 #endif // GC_CACHE_ADAPT
 #else
   // create the lock table, lockresult table and obj queue