edfWrr is a struct for EDF weighted round robin implementation.
| 24 | |
| 25 | // edfWrr is a struct for EDF weighted round robin implementation. |
| 26 | type edfWrr struct { |
| 27 | lock sync.Mutex |
| 28 | items edfPriorityQueue |
| 29 | currentOrderOffset uint64 |
| 30 | currentTime float64 |
| 31 | } |
| 32 | |
| 33 | // NewEDF creates Earliest Deadline First (EDF) |
| 34 | // (https://en.wikipedia.org/wiki/Earliest_deadline_first_scheduling) implementation for weighted round robin. |
nothing calls this directly
no outgoing calls
no test coverage detected