aboutsummaryrefslogtreecommitdiff
path: root/applications
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2022-02-10 14:17:24 +0100
committerKristofer Jonsson <kristofer.jonsson@arm.com>2022-02-10 14:19:26 +0100
commita78c7a87ea8f91008bff7779bfea30fcb10b3095 (patch)
treef5d3a733bd82e2270a3f044d2f02d018b2334ab8 /applications
parent5adf5a6d0bbfa36d4a757f211ae6b4a5c9e51dac (diff)
downloadethos-u-core-software-a78c7a87ea8f91008bff7779bfea30fcb10b3095.tar.gz
Increase GetTotalTicks() to uint64_t22.02-rc222.02-rc1
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
Diffstat (limited to 'applications')
-rw-r--r--applications/inference_process/src/inference_process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/inference_process/src/inference_process.cpp b/applications/inference_process/src/inference_process.cpp
index c877d45..9438882 100644
--- a/applications/inference_process/src/inference_process.cpp
+++ b/applications/inference_process/src/inference_process.cpp
@@ -157,7 +157,7 @@ bool InferenceProcess::runJob(InferenceJob &job) {
return true;
}
- LOG("Inference runtime: %" PRId32 " cycles\n", profiler.GetTotalTicks());
+ LOG("Inference runtime: %" PRIu64 " cycles\n", profiler.GetTotalTicks());
// Copy output data from TFLu arena to job descriptor
if (copyOfm(job, interpreter)) {