rt-thread/include
Grissiom d59aa279c3 kernel: use skip list to implement timer list
Skip list is a "random" data structure that in high possibilities it
would get O(log(N)) time complexity in inserting while the old list get
O(N). Forthermore, when set RT_TIMER_SKIP_LIST_LEVEL to 1, it will just
the same as the old double linked list, both in time and space
complexity.

Benchmarks shows that when RT_TIMER_SKIP_LIST_LEVEL is 3, the average
time of random insertion of new timer is about 2 times faster than the
old timer when there are 100 timers and 3 times faster when there are
200 timers.

However, it restores the deprecated funcion rt_system_timer_init. BSPs
must invoke it upon system startup.
2013-10-12 22:48:29 +08:00
..
rtdebug.h add initialization debug code 2013-07-24 07:33:48 +08:00
rtdef.h kernel: use skip list to implement timer list 2013-10-12 22:48:29 +08:00
rthw.h reformat the coding style in rthw.h 2013-06-29 13:33:06 +08:00
rtm.h Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
rtservice.h Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
rtthread.h kservice: export vsnprintf as rt_vsnprintf 2013-09-23 11:34:13 +08:00