Searched refs:us_to_ns (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/perf/util/ |
H A D | stat.h | 142 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()
|
/openbmc/linux/net/sched/ |
H A D | sch_cake.c | 278 static u64 us_to_ns(u64 us) in us_to_ns() function 2323 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_besteffort() 2345 cake_set_rate(b, rate, mtu, us_to_ns(q->target), in cake_config_precedence() 2346 us_to_ns(q->interval)); in cake_config_precedence() 2437 cake_set_rate(b, rate, mtu, us_to_ns(q->target), in cake_config_diffserv8() 2438 us_to_ns(q->interval)); in cake_config_diffserv8() 2478 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4() 2480 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4() 2482 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4() 2484 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4() [all …]
|