diff options
| author | Daniel Borkmann <[email protected]> | 2012-10-28 08:27:19 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-11-03 14:50:15 -0400 |
| commit | 398f382c0a5bd62f0f31871e844700e1b9fd1ad3 (patch) | |
| tree | c1456d193eb4089de48f9aed8459fbf806433563 /tools/perf/scripts/python/netdev-times.py | |
| parent | e6c022a4fa2d2d9ca9d0a7ac3b05ad988f39fc30 (diff) | |
pktgen: clean up ktime_t helpers
Some years ago, the ktime_t helper functions ktime_now() and ktime_lt()
have been introduced. Instead of defining them inside pktgen.c, they
should either use ktime_t library functions or, if not available, they
should be defined in ktime.h, so that also others can benefit from them.
ktime_compare() is introduced with a similar notion as in timespec_compare().
Signed-off-by: Daniel Borkmann <[email protected]>
Cc: Cong Wang <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions