ktime: introduce ktime_to_ms()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 7 May 2010 17:34:37 +0000 (13:34 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 14 May 2010 19:09:32 +0000 (15:09 -0400)
commitf56916b97fe2031761ca611f0a342efd913afb33
tree92a212cc837ccc365439e7fac971893a1baca190
parentbbc72cea58f671665b6362be0d4e391813ac0eee
ktime: introduce ktime_to_ms()

To report ktime statistics to user space in milliseconds, a new helper
is required.

When considering how to do this conversion, I didn't immediately see
why the extra step of converting ktime to a timeval was needed.  To
make that more clear, introduce a couple of large comments.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/ktime.h