From f5ea501f99c13b409bbacf1c3e9721358b1d9f36 Mon Sep 17 00:00:00 2001 From: Jordan Ribbink Date: Tue, 26 Mar 2024 10:13:15 -0700 Subject: [PATCH] Relax requirement for elapsed time during binstat init --- utils/binstat/binstat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/binstat/binstat.go b/utils/binstat/binstat.go index 5868b6dfc92..e6e26ee2afa 100644 --- a/utils/binstat/binstat.go +++ b/utils/binstat/binstat.go @@ -242,7 +242,7 @@ func init() { } t2 := runtimeNanoAsTimeDuration() - if t2 <= t1 { + if t2 < t1 { panic(fmt.Sprintf("ERROR: BINSTAT: INTERNAL: t1=%d but t2=%d\n", t1, t2)) } }