HW Performance metrics

Discussion related to "under the hood" OpenMV topics.
javierf
Posts: 4
Joined: Fri Oct 13, 2017 9:23 am

HW Performance metrics

Postby javierf » Tue Jul 10, 2018 10:28 am

Hi,
I'm interested in characterizing the OpenM7. For that, I would like to have some metrics of basic measurements such as read/write accesses (sequential and random) to memory, flash and to the sd card (assuming I have the fastest supported card). My goal would be to obtain a table like this one (https://gist.github.com/hellerbarde/2843375) but for the OpenMV with the M7 :ugeek: .



Has anyone ever made these measurements?

Thank you.
Best,
Javier
User avatar
kwagyeman
Posts: 2045
Joined: Sun May 24, 2015 2:10 pm

Re: HW Performance metrics

Postby kwagyeman » Wed Jul 11, 2018 1:49 am

Hi, um, you'll need to get into the C firmware for this. In python you'll get weird numbers. In C you'll find a systick module which counts up every 1 ms. You can us that to benchmark. They have a method to get the current ms count and another to compare the elapsed time.

Is that good enough?
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests