stopwatch 计时

This commit is contained in:
2026-07-19 17:56:30 +08:00
parent b9eb6a2319
commit 065420db36
+1
View File
@@ -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