Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/scheduler/framework/cycle_state.go

    }
    
    // NewCycleState initializes a new CycleState and returns its pointer.
    func NewCycleState() *CycleState {
    	return &CycleState{}
    }
    
    // ShouldRecordPluginMetrics returns whether metrics.PluginExecutionDuration metrics should be recorded.
    func (c *CycleState) ShouldRecordPluginMetrics() bool {
    	if c == nil {
    		return false
    	}
    	return c.recordPluginMetrics
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 06:48:20 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top