Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/util/
Dstat.h142 const u64 us_to_ns = 1000; in update_rusage_stats() local
145 (rusage->ru_utime.tv_usec * us_to_ns + rusage->ru_utime.tv_sec * s_to_ns)); in update_rusage_stats()
147 (rusage->ru_stime.tv_usec * us_to_ns + rusage->ru_stime.tv_sec * s_to_ns)); in update_rusage_stats()
/linux-6.6.21/net/sched/
Dsch_cake.c278 static u64 us_to_ns(u64 us) in us_to_ns() function
2310 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_besteffort()
2332 cake_set_rate(b, rate, mtu, us_to_ns(q->target), in cake_config_precedence()
2333 us_to_ns(q->interval)); in cake_config_precedence()
2424 cake_set_rate(b, rate, mtu, us_to_ns(q->target), in cake_config_diffserv8()
2425 us_to_ns(q->interval)); in cake_config_diffserv8()
2465 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4()
2467 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4()
2469 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4()
2471 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4()
[all …]