1. 21 10月, 2013 1 次提交
    • G
      initialize timer in bsp · 2a9e893c
      Grissiom 提交于
      With new timer algorithm, timer should be initialized during startup. So
      add them to the bsps. Use these commands to get which bsp is missing
      calling the function:
      
          % git grep rt_system_timer_init bsp|sed -n 's|bsp/\([^/]*\).*|\1|p' | sort | uniq > have_tm_init
          % ls -1 bsp |sed -n 's|\([^/]*\).*|\1|p' | sort > all_bsp
          % comm -3 all_bsp have_tm_init
          beaglebone
          lpc176x
          lpc178x
          ls1bdev
          mb9bf506r
          stm32f10x
          xplorer4330
      2a9e893c
  2. 19 10月, 2013 3 次提交
  3. 18 10月, 2013 5 次提交
  4. 17 10月, 2013 1 次提交
  5. 15 10月, 2013 2 次提交
  6. 14 10月, 2013 2 次提交
  7. 12 10月, 2013 3 次提交
    • G
      kernel: use skip list to implement timer list · d59aa279
      Grissiom 提交于
      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.
      d59aa279
    • B
      Merge pull request #172 from grissiom/rtt-next · ca9b83c6
      Bernard Xiong 提交于
      kernel: fix compiling error when RT_DEBUG is not defined
      ca9b83c6
    • G
      kernel: fix compiling error when RT_DEBUG is not defined · c9b8b746
      Grissiom 提交于
      Define RT_DEBUG_IN_THREAD_CONTEXT when RT_DEBUG is not defined.
      c9b8b746
  8. 11 10月, 2013 6 次提交
  9. 09 10月, 2013 7 次提交
  10. 01 10月, 2013 2 次提交
  11. 28 9月, 2013 3 次提交
  12. 26 9月, 2013 3 次提交
  13. 24 9月, 2013 2 次提交