From 2eaf50d19b36f7b00449473d530e5c08d3eb01c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Tue, 28 May 2013 00:10:02 +0200 Subject: [PATCH] Add note about O(n) of uc_timers_count() --- include/ucore/timers.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ucore/timers.h b/include/ucore/timers.h index 8a94131..7182962 100644 --- a/include/ucore/timers.h +++ b/include/ucore/timers.h @@ -113,6 +113,7 @@ void uc_timer_remove(struct UCTimers *timers, struct UCTimer *timer); int uc_timers_first(const struct UCTimers *timers, struct timeval *first); /** Get the number of timers the engine is tracking. + * (This function is O(n) ) * * @param timers timer engine to query * @return the number of timers the engine keeps