Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ShouldRecordPluginMetrics (0.17 sec)

  1. pkg/scheduler/framework/runtime/framework.go

    }
    
    func (f *frameworkImpl) runPreFilterPlugin(ctx context.Context, pl framework.PreFilterPlugin, state *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status) {
    	if !state.ShouldRecordPluginMetrics() {
    		return pl.PreFilter(ctx, state, pod)
    	}
    	startTime := time.Now()
    	result, status := pl.PreFilter(ctx, state, pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top