kubernetes/pkg/scheduler/metrics/profile_metrics.go

var ScheduledResult

var UnschedulableResult

var ErrorResult

// PodScheduled can records a successful scheduling attempt and the duration
// since `start`.
func PodScheduled(profile string, duration float64) {}

// PodUnschedulable can records a scheduling attempt for an unschedulable pod
// and the duration since `start`.
func PodUnschedulable(profile string, duration float64) {}

// PodScheduleError can records a scheduling attempt that had an error and the
// duration since `start`.
func PodScheduleError(profile string, duration float64) {}

func observeScheduleAttemptAndLatency(result, profile string, duration float64) {}