Deactivate scheduler is now possible
This commit is contained in:
parent
634edf04b5
commit
cb9b9f7bc6
1 changed files with 5 additions and 2 deletions
|
@ -27,7 +27,10 @@ uint64_t compute_delta(struct timespec* prev_time, uint64_t max, uint8_t update)
|
|||
}
|
||||
|
||||
int is_blacklisted(struct thunder_ctx* thunderc, int link_id) {
|
||||
if (thunderc->scheduler_activated)
|
||||
return thunderc->blacklisted[link_id] >= thunderc->received_pkts_on_link[link_id];
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void prepare(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo, struct buffer_packet* bp) {
|
||||
|
|
Loading…
Reference in a new issue