- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SeatSeconds (0.1 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds.go
// MinSeatSeconds is the lowest representable value of SeatSeconds const MinSeatSeconds = SeatSeconds(0) // SeatsTimeDuration produces the SeatSeconds value for the given factors. // This is intended only to produce small values, increments in work // rather than amount of work done since process start. func SeatsTimesDuration(seats float64, duration time.Duration) SeatSeconds {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 20 09:16:46 UTC 2023 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/types.go
arrivalR fcrequest.SeatSeconds // startTime is the real time when the request began executing startTime time.Time // Indicates whether client has called Request::Wait() waitStarted bool } type completedWorkEstimate struct { fcrequest.WorkEstimate totalWork fcrequest.SeatSeconds // initial plus final work finalWork fcrequest.SeatSeconds // only final work }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 17:38:43 UTC 2023 - 6.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list_test.go
update := func(we *queueSum, req *request, multiplier int) { we.InitialSeatsSum += multiplier * req.InitialSeats() we.MaxSeatsSum += multiplier * req.MaxSeats() we.TotalWorkSum += fcrequest.SeatSeconds(multiplier) * req.totalWork() } assert := func(t *testing.T, want, got *queueSum) { if !reflect.DeepEqual(want, got) { t.Errorf("Expected queue work estimate to match, diff: %s", cmp.Diff(want, got)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 28 08:48:40 UTC 2022 - 7.8K bytes - Viewed (0)