Rev 2412 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2412 | Rev 2464 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | */ |
34 | */ |
35 | 35 | ||
36 | #ifndef KERN_arm32_CYCLE_H_ |
36 | #ifndef KERN_arm32_CYCLE_H_ |
37 | #define KERN_arm32_CYCLE_H_ |
37 | #define KERN_arm32_CYCLE_H_ |
38 | 38 | ||
39 | - | ||
40 | /** Returns count of CPU cycles. |
39 | /** Returns count of CPU cycles. |
41 | * |
40 | * |
42 | * No such instruction on ARM to get count of cycles. |
41 | * No such instruction on ARM to get count of cycles. |
43 | * |
42 | * |
44 | * @return Count of CPU cycles. |
43 | * @return Count of CPU cycles. |
Line 46... | Line 45... | ||
46 | static inline uint64_t get_cycle(void) |
45 | static inline uint64_t get_cycle(void) |
47 | { |
46 | { |
48 | return 0; |
47 | return 0; |
49 | } |
48 | } |
50 | 49 | ||
51 | - | ||
52 | #endif |
50 | #endif |
53 | 51 | ||
54 | /** @} |
52 | /** @} |
55 | */ |
53 | */ |