summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMatteo Croce <mcroce@redhat.com>2018-07-31 18:03:32 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-16 19:36:55 +0200
commit14d32b2525dd3a21c29b0d9edf1748f5dabc1bbc (patch)
treedd9366dfc5a35b2fb889bd4ead02b206b4e228ed /net
parenta53b42c11815d2357e31a9403ae3950517525894 (diff)
jiffies: add utility function to calculate delta in ms
add jiffies_delta_to_msecs() helper func to calculate the delta between two times and eventually 0 if negative. Suggested-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Matteo Croce <mcroce@redhat.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Acked-by: Simon Horman <horms@verge.net.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions