Simple Performance Counters: IA64 support
PATCH 4/7 Simple Performance Counters: IA64 support
Provide a cycles_to_ns function
Signed-off-by Christoph Lameter <[email protected]>
--- include/asm-ia64/timex.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
include/asm-ia64/timex.h +3 -0
@@ -39,4 +39,7 @@ get_cycles (void) return ret; } +#define cycles_to_ns (x) (((x) * local_cpu_data->nsec_per_cyc) \ + >> IA64_NSEC_PER_CYC_SHIFT) +#endif /* _ASM_IA64_TIMEX_H */
Signature · 1 line
1.5.2.4