cputime.h 334 B

12345678910111213141516
  1. #ifndef __LINUX_CPUTIME_H
  2. #define __LINUX_CPUTIME_H
  3. #include <asm/cputime.h>
  4. #ifndef cputime_to_nsecs
  5. # define cputime_to_nsecs(__ct) \
  6. (cputime_to_usecs(__ct) * NSEC_PER_USEC)
  7. #endif
  8. #ifndef nsecs_to_cputime
  9. # define nsecs_to_cputime(__nsecs) \
  10. usecs_to_cputime((__nsecs) / NSEC_PER_USEC)
  11. #endif
  12. #endif /* __LINUX_CPUTIME_H */