Rev 2020 | Rev 2027 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2020 | Rev 2022 | ||
|---|---|---|---|
| Line 33... | Line 33... | ||
| 33 | 33 | ||
| 34 | #ifdef CONFIG_BENCH |
34 | #ifdef CONFIG_BENCH |
| 35 | #include <arch/cycle.h> |
35 | #include <arch/cycle.h> |
| 36 | #endif |
36 | #endif |
| 37 | 37 | ||
| 38 | void *data = (void *) 0xdeadbeef; |
38 | static void *data = (void *) 0xdeadbeef; |
| 39 | 39 | ||
| 40 | void test_btree1(void) |
40 | void test_btree1(void) |
| 41 | { |
41 | { |
| 42 | #ifdef CONFIG_BENCH |
42 | #ifdef CONFIG_BENCH |
| 43 | uint64_t t0 = get_cycle(); |
43 | uint64_t t0 = get_cycle(); |