Searched refs:us_to_ns (Results 1 – 2 of 2) sorted by relevance
/linux/tools/perf/util/ |
H A D | stat.h | 141 const u64 us_to_ns = 1000; in update_rusage_stats() local 144 (rusage->ru_utime.tv_usec * us_to_ns + rusage->ru_utime.tv_sec * s_to_ns)); in update_rusage_stats() 146 (rusage->ru_stime.tv_usec * us_to_ns + rusage->ru_stime.tv_sec * s_to_ns)); in update_rusage_stats()
|
/linux/net/sched/ |
H A D | sch_cake.c | 278 static u64 us_to_ns(u64 us) in us_to_ns() function 2322 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_besteffort() 2344 cake_set_rate(b, rate, mtu, us_to_ns(q->target), in cake_config_precedence() 2345 us_to_ns(q->interval)); in cake_config_precedence() 2436 cake_set_rate(b, rate, mtu, us_to_ns(q->target), in cake_config_diffserv8() 2437 us_to_ns(q->interval)); in cake_config_diffserv8() 2477 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4() 2479 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4() 2481 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4() 2483 us_to_ns(q->target), us_to_ns(q->interval)); in cake_config_diffserv4() [all …]
|