projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
taskstats: use real microsecond granularity for CPU times
[cascardo/linux.git]
/
include
/
asm-generic
/
cputime.h
diff --git
a/include/asm-generic/cputime.h
b/include/asm-generic/cputime.h
index
ca0f239
..
2bcc5c7
100644
(file)
--- a/
include/asm-generic/cputime.h
+++ b/
include/asm-generic/cputime.h
@@
-33,10
+33,10
@@
typedef u64 cputime64_t;
/*
/*
- * Convert cputime to mi
lli
seconds and back.
+ * Convert cputime to mi
cro
seconds and back.
*/
*/
-#define cputime_to_
msecs(__ct) jiffies_to_msecs(__ct)
-#define
msecs_to_cputime(__msecs) msecs_to_jiffies(__msecs)
+#define cputime_to_
usecs(__ct) jiffies_to_usecs(__ct);
+#define
usecs_to_cputime(__msecs) usecs_to_jiffies(__msecs);
/*
* Convert cputime to seconds and back.
/*
* Convert cputime to seconds and back.