Add note about O(n) of uc_timers_count()
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user