Commit 6db105db authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by David S. Miller

[PKTGEN]: uninline getCurUs

net/core/pktgen.c:
  pktgen_stop_device   |  -50
  pktgen_run           | -105
  pktgen_if_show       |  -37
  pktgen_thread_worker | -702
 4 functions changed, 894 bytes removed, diff: -894

net/core/pktgen.c:
  getCurUs |  +36
 1 function changed, 36 bytes added, diff: +36

net/core/pktgen.o:
 5 functions changed, 36 bytes added, 894 bytes removed, diff: -858
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 56e252c7
...@@ -405,7 +405,7 @@ static inline __u64 tv_to_us(const struct timeval *tv) ...@@ -405,7 +405,7 @@ static inline __u64 tv_to_us(const struct timeval *tv)
return us; return us;
} }
static inline __u64 getCurUs(void) static __u64 getCurUs(void)
{ {
struct timeval tv; struct timeval tv;
do_gettimeofday(&tv); do_gettimeofday(&tv);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment