- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewParallelizer (0.33 sec)
-
pkg/scheduler/framework/parallelize/parallelism.go
const DefaultParallelism int = 16 // Parallelizer holds the parallelism for scheduler. type Parallelizer struct { parallelism int } // NewParallelizer returns an object holding the parallelism. func NewParallelizer(p int) Parallelizer { return Parallelizer{parallelism: p} } // chunkSizeFor returns a chunk size for the given number of items to use for
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 09 17:12:30 UTC 2023 - 2K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework.go
} } // WithParallelism sets parallelism for the scheduling frameworkImpl. func WithParallelism(parallelism int) Option { return func(o *frameworkOptions) { o.parallelizer = parallelize.NewParallelizer(parallelism) } } // CaptureProfile is a callback to capture a finalized profile. type CaptureProfile func(config.KubeSchedulerProfile)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 60.9K bytes - Viewed (0)