Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/util/
Dstat.h143 const u64 us_to_ns = 1000; in update_rusage_stats() local
146 (rusage->ru_utime.tv_usec * us_to_ns + rusage->ru_utime.tv_sec * s_to_ns)); in update_rusage_stats()
148 (rusage->ru_stime.tv_usec * us_to_ns + rusage->ru_stime.tv_sec * s_to_ns)); in update_rusage_stats()
/linux-6.12.1/net/sched/
Dsch_cake.c278 static u64 us_to_ns(u64 us) in us_to_ns() function
2296 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_besteffort()
2318 cake_set_rate(b, rate, mtu, us_to_ns(q->target), in cake_config_precedence()
2319 us_to_ns(q->interval)); in cake_config_precedence()
2410 cake_set_rate(b, rate, mtu, us_to_ns(q->target), in cake_config_diffserv8()
2411 us_to_ns(q->interval)); in cake_config_diffserv8()
2451 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4()
2453 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4()
2455 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4()
2457 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4()
[all …]