Other Parts Discussed in Thread: SYSBIOS
When I want to count the cycles of "Cache_wb((void *)src, len, Cache_Type_ALLD, true );"I find that it cost so much time.
For example, arm A8 cpu 1G clock, len = 32768 bytes, time is about 16 us.
Can you tell me how many cycles to execute a cache operation such as instruction below?
mcr p15, #0, r0, c7, c10, #1 ; write back a cache line
mcr p15, #0, r0, c7, c14, #1 ; writeback inv a cache line
mcrne p15, #0, r0, c7, c10, #4 ; drain write buffer