aboutsummaryrefslogtreecommitdiff
path: root/lib/arm_profiler
AgeCommit message (Collapse)Author
2024-05-15Change to use uint32_t in Arm profiler for ticks24.05-rc1Mikael Olsson
Currently the profiler uses signed 32-bit integers to hold the start and end tick values. This is not appropriate because the tick values will never be negative and the current ticks are returned as an unsigned 32-bit integer value. To address this, the start and end ticks will now be stored as unsigned 32-bit integers instead. Change-Id: I6358f3fde7c034c5e40409a9d3f7a576ff4897ce Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
2022-11-23Use Tensorflow MicroPrintfKristofer Jonsson
Change-Id: I01bbafc45ca2a56759d7d5afbbbacefb40fd9a26
2022-09-29Profilers inherit MicroProfilerInterface instead of MicroProfilerMåns Nilsson
This will decrease current stack usage requirement and memory footprint. Change-Id: I8ac314238efcdf1622cdcafd479c6cc1a8580509
2022-06-14Refactor performance measurementsJonny Svärd
Change 'Inference runtime' to measure CPU cycles for the Tensorflow Lite Micro interpreter.Invoke() call. Add 'Operator(s) runtime' print that prints a summary for cycles spent on all operators during an inference. (This is equivalent to the old reported 'Inference runtime') Move prints out of the EndEvent() function in ArmProfiler as it otherwise interferes with the inference cycle measurement. Change-Id: Ie11b5abb5b12a3bcf5a67841f04834d05dfd796d
2022-02-10Increase GetTotalTicks() to uint64_t22.02-rc222.02-rc1Kristofer Jonsson
For larger networks the GetTotalTicks() might overflow if the function returns int32_t. GetTotalTicks() is a non virtual function that can be overridden with a different return type in the implementation class. Change-Id: I8dd2e448fd13e0823fe1e5f9cc335998d2806416
2021-05-24Fixing compilation warningsKristofer Jonsson
Change-Id: I3a1a361e6e8d40d2ac505b3c8d065c00224f1c2f
2021-05-21Add EthosuProfiler to perform layer-by-layer profiling on Ethos-U.Jens Elofsson
Change-Id: Idae34fd8ab6b17b0bc21db658fff135a5ddf5461