summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-10-19 11:07:04 -0400
committerAndrew Opalach <andrew@akon.city> 2024-10-19 11:18:15 -0400
commitb8abe660fab174d37f8f49142f2261e93f463527 (patch)
tree407b1e7c9113ca2d628775bf7d6921e93df722d2 /tests
parent9e63fb59e7b8506183172869ea44b68cdec29be5 (diff)
downloadlibnaunet-b8abe660fab174d37f8f49142f2261e93f463527.tar.gz
libnaunet-b8abe660fab174d37f8f49142f2261e93f463527.tar.bz2
libnaunet-b8abe660fab174d37f8f49142f2261e93f463527.zip
Simplify packet_pool, various fixes
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'tests')
-rw-r--r--tests/timer_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/timer_thread.c b/tests/timer_thread.c
index b3a8aa4..2949cf7 100644
--- a/tests/timer_thread.c
+++ b/tests/timer_thread.c
@@ -14,7 +14,7 @@ static aki_thread_result AKI_THREADCALL test_thread(void *userdata)
for (u32 i = 0; i < REPEAT; i++) {
diff = (aki_get_tick() - start) * 1000000Lu;
aki_thread_sleep(AKI_TS_FROM_USEC(DELAY + ((s64)(i * DELAY) - diff)));
- al_printf("[%2u] %lfs\n", i, diff / 1000000.0);
+ al_printf("[%2u (%llu)] %lfs\n", i, aki_get_timestamp(), diff / 1000000.0);
}
return 0;
}