Update codex/utils/statsummary.nim

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Ben Bierens <39762930+benbierens@users.noreply.github.com>
This commit is contained in:
Ben Bierens 2025-01-30 17:09:30 +01:00 committed by GitHub
parent fa78e7ce9c
commit d70af86d2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,21 +12,9 @@ when defined(metrics):
return
let timestamp = st.now()
output(
name = st.name & "_min",
value = st.min,
timestamp = timestamp
)
output(
name = st.name & "_max",
value = st.max,
timestamp = timestamp
)
output(
name = st.name & "_ravg",
value = st.ravg,
timestamp = timestamp
)
output(name = st.name & "_min", value = st.min, timestamp = timestamp)
output(name = st.name & "_max", value = st.max, timestamp = timestamp)
output(name = st.name & "_ravg", value = st.ravg, timestamp = timestamp)
proc declareStatSummary*(name: string, help: string = ""): StatSummary =
when defined(metrics):