mirror of https://github.com/ARMmbed/mbed-os.git
Changed LOOP_SCALER of "wait_ns()"
parent
fe1b368415
commit
012a117df7
|
@ -75,9 +75,8 @@ void wait_us(int us)
|
||||||
#endif
|
#endif
|
||||||
#elif defined __CORTEX_A
|
#elif defined __CORTEX_A
|
||||||
#if __CORTEX_A == 9
|
#if __CORTEX_A == 9
|
||||||
// Cortex-A9 is dual-issue, so let's assume same performance as Cortex-M7.
|
// Cortex-A9 can dual issue for 3 cycles per iteration (SUB,NOP) = 1, (NOP,BCS) = 2
|
||||||
// TODO - test.
|
#define LOOP_SCALER 3000
|
||||||
#define LOOP_SCALER 2000
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue