]> www.infradead.org Git - mtd-utils.git/commit
mtd-utils: flash_speed: Rework the time counting helpers
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Nov 2022 15:59:37 +0000 (16:59 +0100)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Fri, 18 Nov 2022 19:44:43 +0000 (20:44 +0100)
commitac03af0f56c4d9cffb56b958f38b57dc832340fe
treeb6aba28f2acca7ed4dc322aebd58df16513c4a71
parent4a84311e4706da5823e20db107809a334708e171
mtd-utils: flash_speed: Rework the time counting helpers

In order to be able to have interleaved measures, let's not use the
start and finish global variables from the time helpers directly,
provide parameters for these variables so that we can provide either the
global entries, or more specific ones when relevant.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
tests/mtd-tests/flash_speed.c