diff options
Diffstat (limited to 'net/core/pktgen.c')
-rw-r--r-- | net/core/pktgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index d73b77adb676..f0aec6c39ecd 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c | |||
@@ -3271,7 +3271,7 @@ static void show_results(struct pktgen_dev *pkt_dev, int nr_frags) | |||
3271 | pkt_dev->started_at); | 3271 | pkt_dev->started_at); |
3272 | ktime_t idle = ns_to_ktime(pkt_dev->idle_acc); | 3272 | ktime_t idle = ns_to_ktime(pkt_dev->idle_acc); |
3273 | 3273 | ||
3274 | p += sprintf(p, "OK: %llu(c%llu+d%llu) nsec, %llu (%dbyte,%dfrags)\n", | 3274 | p += sprintf(p, "OK: %llu(c%llu+d%llu) usec, %llu (%dbyte,%dfrags)\n", |
3275 | (unsigned long long)ktime_to_us(elapsed), | 3275 | (unsigned long long)ktime_to_us(elapsed), |
3276 | (unsigned long long)ktime_to_us(ktime_sub(elapsed, idle)), | 3276 | (unsigned long long)ktime_to_us(ktime_sub(elapsed, idle)), |
3277 | (unsigned long long)ktime_to_us(idle), | 3277 | (unsigned long long)ktime_to_us(idle), |