From 065420db367204257c0d0eb79547f1a00b80a6ac Mon Sep 17 00:00:00 2001 From: Chen Peng Date: Sun, 19 Jul 2026 17:56:30 +0800 Subject: [PATCH] =?UTF-8?q?stopwatch=20=E8=AE=A1=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AppKit/stopwatch.h | 1 + 1 file changed, 1 insertion(+) diff --git a/AppKit/stopwatch.h b/AppKit/stopwatch.h index 122836d..4b43b7f 100644 --- a/AppKit/stopwatch.h +++ b/AppKit/stopwatch.h @@ -17,6 +17,7 @@ typedef struct { OS_STATIC_FORCE_INLINE void stopwatch_init(stopwatch_t* self) { self->start_tick = os_systick_safe_get(); + self->end_tick = 0; } OS_STATIC_FORCE_INLINE