Home
last modified time | relevance | path

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

/Linux-v6.1/tools/perf/util/
Dstat.h195 const u64 us_to_ns = 1000; in update_rusage_stats() local
198 (rusage->ru_utime.tv_usec * us_to_ns + rusage->ru_utime.tv_sec * s_to_ns)); in update_rusage_stats()
200 (rusage->ru_stime.tv_usec * us_to_ns + rusage->ru_stime.tv_sec * s_to_ns)); in update_rusage_stats()
/Linux-v6.1/net/sched/
Dsch_cake.c277 static u64 us_to_ns(u64 us) in us_to_ns() function
2309 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_besteffort()
2331 cake_set_rate(b, rate, mtu, us_to_ns(q->target), in cake_config_precedence()
2332 us_to_ns(q->interval)); in cake_config_precedence()
2423 cake_set_rate(b, rate, mtu, us_to_ns(q->target), in cake_config_diffserv8()
2424 us_to_ns(q->interval)); in cake_config_diffserv8()
2464 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4()
2466 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4()
2468 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4()
2470 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4()
[all …]