Home
last modified time | relevance | path

Searched refs:gcd (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/basic/
Dprocfs-util.c135 uint64_t sum, gcd, a, b; in procfs_cpu_get_usage() local
169 gcd = calc_gcd64(NSEC_PER_SEC, ticks_per_second); in procfs_cpu_get_usage()
171 a = (uint64_t) NSEC_PER_SEC / gcd; in procfs_cpu_get_usage()
172 b = (uint64_t) ticks_per_second / gcd; in procfs_cpu_get_usage()