Comparison of various delay methods(转载)

原创 2004年09月11日 20:13:00

 Comparison of various delay methods(转载)

(1) risc_sleep_a_bit(n)
    - accuracy within ~13ns when n>20.
    - limitation: n < cycles in timer2_period (0.5 second).

(2) "bank3safe"
    - accuracy within bank3 WS, ~100ns(byte access)
    - usage example:
    void foo(void)
    {
        volatile unsigned int *ptrdelay = (unsigned int *) bank3safe;
 .
 .   
 (void) *ptrdelay; /* DW access = ~400ns(4*100) delay */
 .
 .
    }

(3) UTIL_xxx_timer2_end()
    - accuracy is similar to risc_sleep_a_bit(), but intended for delays
      greater than ~1us.
    - usage example:
      (please reference SERVO_delay_n_ms() in servos.c or
       VFD_schedule_state_change() in microvfd.c)

(4) "glbTimer"
    - accuracy within ~200ms - ~500ms depending on frequency of
    "glbTimer" checks.

NOTE: pure "for" loops are NOT reliable delay methods because of
      cache hit/miss inconsistencies.

Spark-utils 类

按字母序简单描述ActorLogReceive记录所有的Actor信息
  • oblesslyy
  • oblesslyy
  • 2015-05-21 22:35:39
  • 770

主元素分析方法A comparison of three methods for principal component

  • 2010年07月15日 17:01
  • 283KB
  • 下载

A Comparison of Constant Stimuli and Gray-Scale Methods of Color Difference

  • 2014年02月12日 16:18
  • 367KB
  • 下载

Attractor Basins of Various Root-Finding Methods

  • 2016年05月16日 16:47
  • 1.98MB
  • 下载

Rich Comparison Methods

One of the nicest features of the Data Model is the ability to override the behavior of rich compa...
  • CPP_CHEN
  • CPP_CHEN
  • 2014-07-08 14:03:58
  • 454

6.Note the following points describing various utilities in Oracle Database 11g:

6.Note the following points describing various utilities in Oracle Database 11g:
  • dwj19830118
  • dwj19830118
  • 2016-07-14 18:15:51
  • 926

A Systematic Comparison of Various statistical alignment models

  • 2011年07月06日 17:00
  • 294KB
  • 下载

17.Note the functionalities of various background processes:

17.Note the functionalities of various background processes:
  • dwj19830118
  • dwj19830118
  • 2016-07-15 22:43:30
  • 645

16.Note the following functionalities of various background processes:

16.Note the following functionalities of various background processes:
  • dwj19830118
  • dwj19830118
  • 2016-07-15 22:37:16
  • 634

OCP-1Z0-052-V8.02-16题

16. Note the following functionalities of various background processes: 1: Record the checkpoint in...
  • rlhua
  • rlhua
  • 2013-10-03 13:45:04
  • 10912
收藏助手
不良信息举报
您举报文章:Comparison of various delay methods(转载)
举报原因:
原因补充:

(最多只允许输入30个字)