AnsweredAssumed Answered

Calculate time for 64 bit load from uncached memory in i.MX8

Question asked by Abdul Jaleel Edakkandathil on Apr 20, 2020
Latest reply on Jul 3, 2020 by Abdul Jaleel Edakkandathil



We want to calculate the time taken to read and compare two large buffer in uncached memory. The buffers are allocated using dma_alloc_coherent kernel function. For this we will need to find how much time a single 64 bit register load instruction takes. Can you give some pointers on how to find the time taken for the load to happen from uncached memory? We use the NXP i.MX 8MQuad Evaluation Kit.


Thank you