Rev 2291 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2291 | Rev 2356 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | 28 | ||
29 | /** @addtogroup arm32 |
29 | /** @addtogroup arm32 |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
- | 33 | * @brief Count of CPU cycles. |
|
33 | */ |
34 | */ |
34 | 35 | ||
35 | #ifndef KERN_arm32_CYCLE_H_ |
36 | #ifndef KERN_arm32_CYCLE_H_ |
36 | #define KERN_arm32_CYCLE_H_ |
37 | #define KERN_arm32_CYCLE_H_ |
37 | 38 | ||
- | 39 | ||
- | 40 | /** No such instruction on ARM to get count of cycles. */ |
|
38 | static inline uint64_t get_cycle(void) |
41 | static inline uint64_t get_cycle(void) |
39 | { |
42 | { |
40 | // no such instruction on ARM to get count of cycles |
- | |
41 | return 0; |
43 | return 0; |
42 | } |
44 | } |
43 | 45 | ||
- | 46 | ||
44 | #endif |
47 | #endif |
45 | 48 | ||
46 | /** @} |
49 | /** @} |
47 | */ |
50 | */ |