OK, you understand that this is fraught with failures and warnings - processor speeds, memory speeds, cache hits, page flushes of MMU pages, etc. (if it is a powerful embedded system), all factors are significantly in the decision ....
Having said that .... what I would do is. Get a real-time operating system (stay with me), maybe something like FreeRTOS (free, what a surprise) or u / C-OS-II (not free for commercial use, maybe $ 3). These cores allow you to use the code to count the processor’s idle cycles (idle rotation cycle).
Thus, run the entire application (or the client application) as the only (not idle) task on the board that you agree to (for example, the MPC860 card, ARM7 card, etc.). Measure% CPU on the board via RTOS. (for example, "on a Flibber board operating at 60 MHz, our application used 12% of the CPU.")
Without them giving you more, or vice versa, it sounds like a pretty reasonable length to go to them.
It’s good that once you do this, you can reuse the work for other purposes and / or boards, perhaps the numbers will help you increase sales and / or adjust / optimize your software.
Good luck
Dan
source share