diff options
author | Ming Yang <yang@cs.unc.edu> | 2016-02-11 20:31:16 -0500 |
---|---|---|
committer | Ming Yang <yang@cs.unc.edu> | 2016-02-11 20:31:16 -0500 |
commit | 28cef80c0b9da0184ef736ae131b6146c5976422 (patch) | |
tree | ddaa898f1786850dbd3d759a032903f5a7a35ae0 /litmus/reservation.c | |
parent | 696546dd52d9baf73920a61e6525a41f3460ba4d (diff) |
Manually patched mc^2 related codewip-mc2-cache-slack
Diffstat (limited to 'litmus/reservation.c')
-rw-r--r-- | litmus/reservation.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/litmus/reservation.c b/litmus/reservation.c index 08c74f9005b3..d11003af279a 100644 --- a/litmus/reservation.c +++ b/litmus/reservation.c | |||
@@ -217,7 +217,7 @@ static void sup_charge_budget( | |||
217 | /* stop at the first ACTIVE reservation */ | 217 | /* stop at the first ACTIVE reservation */ |
218 | //break; | 218 | //break; |
219 | } | 219 | } |
220 | TRACE("finished charging budgets\n"); | 220 | //TRACE("finished charging budgets\n"); |
221 | } | 221 | } |
222 | 222 | ||
223 | static void sup_replenish_budgets(struct sup_reservation_environment* sup_env) | 223 | static void sup_replenish_budgets(struct sup_reservation_environment* sup_env) |
@@ -234,7 +234,7 @@ static void sup_replenish_budgets(struct sup_reservation_environment* sup_env) | |||
234 | break; | 234 | break; |
235 | } | 235 | } |
236 | } | 236 | } |
237 | TRACE("finished replenishing budgets\n"); | 237 | //TRACE("finished replenishing budgets\n"); |
238 | 238 | ||
239 | /* request a scheduler update at the next replenishment instant */ | 239 | /* request a scheduler update at the next replenishment instant */ |
240 | res = list_first_entry_or_null(&sup_env->depleted_reservations, | 240 | res = list_first_entry_or_null(&sup_env->depleted_reservations, |
@@ -252,7 +252,7 @@ void sup_update_time( | |||
252 | /* If the time didn't advance, there is nothing to do. | 252 | /* If the time didn't advance, there is nothing to do. |
253 | * This check makes it safe to call sup_advance_time() potentially | 253 | * This check makes it safe to call sup_advance_time() potentially |
254 | * multiple times (e.g., via different code paths. */ | 254 | * multiple times (e.g., via different code paths. */ |
255 | TRACE("(sup_update_time) now: %llu, current_time: %llu\n", now, sup_env->env.current_time); | 255 | //TRACE("(sup_update_time) now: %llu, current_time: %llu\n", now, sup_env->env.current_time); |
256 | if (unlikely(now <= sup_env->env.current_time)) | 256 | if (unlikely(now <= sup_env->env.current_time)) |
257 | return; | 257 | return; |
258 | 258 | ||