Header menu logo Nao

ResourceUsage Type

Tracks current resource consumption against limits

Record fields

Record Field Description

ElapsedTime

Full Usage: ElapsedTime

Field type: TimeSpan
Field type: TimeSpan

EstimatedCostUsd

Full Usage: EstimatedCostUsd

Field type: decimal
Field type: decimal

LlmCalls

Full Usage: LlmCalls

Field type: int
Field type: int

ToolCalls

Full Usage: ToolCalls

Field type: int
Field type: int

TotalTokens

Full Usage: TotalTokens

Field type: int
Field type: int

Instance members

Instance member Description

this.Exceeds

Full Usage: this.Exceeds

Parameters:
Returns: bool
limits : ResourceLimits
Returns: bool

Static members

Static member Description

ResourceUsage.Zero

Full Usage: ResourceUsage.Zero

Returns: ResourceUsage
Returns: ResourceUsage

Type something to start searching.