MCPcopy Create free account
hub / github.com/cel-expr/cel-go / CostTracker

Method CostTracker

interpreter/frame.go:373–378  ·  view source on GitHub ↗

CostTracker returns the active CostTracker for this evaluation pass, or nil.

()

Source from the content-addressed store, hash-verified

371
372// CostTracker returns the active CostTracker for this evaluation pass, or nil.
373func (f *ExecutionFrame) CostTracker() *CostTracker {
374 if f == nil {
375 return nil
376 }
377 return f.costTracker
378}
379
380// SetCostTracker sets the active CostTracker for this evaluation pass.
381func (f *ExecutionFrame) SetCostTracker(tracker *CostTracker) {

Callers 15

ExecMethod · 0.80
ExecMethod · 0.80
ExecMethod · 0.80
ExecMethod · 0.80
ExecMethod · 0.80
ExecMethod · 0.80
ExecMethod · 0.80
ExecMethod · 0.80
ExecMethod · 0.80
ExecMethod · 0.80
ExecMethod · 0.80
ExecMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected