ModelVersion returns the cost model version configured on the tracker.
()
| 181 | |
| 182 | // ModelVersion returns the cost model version configured on the tracker. |
| 183 | func (c *Tracker) ModelVersion() uint32 { |
| 184 | if c == nil { |
| 185 | return defaultModelVersion |
| 186 | } |
| 187 | return c.modelVersion |
| 188 | } |
| 189 | |
| 190 | // CreateList records list literal construction cost. |
| 191 | func (c *Tracker) CreateList(id int64, res ref.Val) { |
no outgoing calls