Add note about O(n) of uc_timers_count()

This commit is contained in:
Nils O. Selåsdal
2013-05-28 00:10:02 +02:00
parent f2bbca8718
commit 2eaf50d19b
+1
View File
@@ -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); int uc_timers_first(const struct UCTimers *timers, struct timeval *first);
/** Get the number of timers the engine is tracking. /** Get the number of timers the engine is tracking.
* (This function is O(n) )
* *
* @param timers timer engine to query * @param timers timer engine to query
* @return the number of timers the engine keeps * @return the number of timers the engine keeps