summaryrefslogtreecommitdiff
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2025-12-08 18:09:17 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-12-08 18:09:17 +0800
commitced7814d3a5c2275d59cb3f4bd9fa2aec8d8529a (patch)
tree3dad87e9aaf8c8bf4c12721d3b59c74ff435cb86 /tools/perf/util/python.c
parent4ad04e7c7eed8583bd49509f4aad4d28bc4b399d (diff)
LoongArch: Adjust time routines for 32BIT/64BIT
Adjust time routines for both 32BIT and 64BIT, including: rdtime_h() / rdtime_l() definitions for 32BIT and rdtime_d() definition for 64BIT, get_cycles() and get_cycles64() definitions for 32BIT/64BIT, show time frequency info ("CPU MHz" and "BogoMIPS") in /proc/cpuinfo, etc. Use do_div() for division which works on both 32BIT and 64BIT platforms. Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions