metrics_metric_timer_stop
Stop a running timer and record its duration in milliseconds. Accumulates count, total, min, max, avg, and last duration for analysis. Returns the recorded duration and updated timer state.
Instructions
[metrics] Stop a running timer and record its duration in milliseconds. Accumulates: count, total_ms, min_ms, max_ms, avg_ms, last_ms. Returns the recorded duration and updated timer state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |