Skip to content
Snippets Groups Projects
Unverified Commit 6f2f9abe authored by Sebastian Meiling's avatar Sebastian Meiling Committed by GitHub
Browse files

Merge pull request #9146 from bergzand/pr/tests/xtimer_now64_continuity/print_str

tests/xtimer_now64: Start time measure after print
parents 6be425f7 81cff65c
No related branches found
No related tags found
No related merge requests found
...@@ -34,8 +34,8 @@ int main(void) ...@@ -34,8 +34,8 @@ int main(void)
uint64_t diff_min = UINT64_MAX; uint64_t diff_min = UINT64_MAX;
uint64_t diff_max = 0; uint64_t diff_max = 0;
uint64_t diff_sum = 0; uint64_t diff_sum = 0;
xtimer_ticks64_t before = xtimer_now64();
print_str("[START]\n"); print_str("[START]\n");
xtimer_ticks64_t before = xtimer_now64();
while(--n) { while(--n) {
xtimer_ticks64_t now = xtimer_now64(); xtimer_ticks64_t now = xtimer_now64();
xtimer_ticks64_t diff = xtimer_diff64(now, before); xtimer_ticks64_t diff = xtimer_diff64(now, before);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment