| 127 | } |
| 128 | |
| 129 | void PriorityTrafficClass::UnblockTowardsRoot(uint64_t tsc) { |
| 130 | size_t num_children = children_.size(); |
| 131 | for (first_runnable_ = 0; first_runnable_ < num_children; ++first_runnable_) { |
| 132 | if (!children_[first_runnable_].c_->blocked_) { |
| 133 | break; |
| 134 | } |
| 135 | } |
| 136 | TrafficClass::UnblockTowardsRootSetBlocked(tsc, |
| 137 | first_runnable_ >= num_children); |
| 138 | } |
| 139 | |
| 140 | void PriorityTrafficClass::BlockTowardsRoot() { |
| 141 | size_t num_children = children_.size(); |