diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2024-02-26 18:09:55 +0000 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-02-26 18:09:55 +0000 |
commit | 660be94c5daadf529a303c520422093780759c70 (patch) | |
tree | 260287462791155fb70b2772e2d657fa1facc183 | |
parent | 81d3391617f216f74e3712c82310c2dea5753707 (diff) | |
download | aarch64-memcpy-660be94c5daadf529a303c520422093780759c70.tar.gz |
Accumulate!
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -135,7 +135,7 @@ static void report_dcache_time(struct timespec *start, struct timespec *end) unsigned long msecs; msecs = (end->tv_sec - start->tv_sec) * MSEC_PER_SEC; - msecs = (end->tv_nsec - start->tv_nsec) / NSEC_PER_MSEC; + msecs += (end->tv_nsec - start->tv_nsec) / NSEC_PER_MSEC; printf("cache maintenance took %lu milliseconds\n", msecs); } |