cputime.h 393 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright IBM Corp. 2004
  4. *
  5. * Author: Martin Schwidefsky <schwidefsky@de.ibm.com>
  6. */
  7. #ifndef _S390_CPUTIME_H
  8. #define _S390_CPUTIME_H
  9. #include <linux/types.h>
  10. #include <asm/timex.h>
  11. /*
  12. * Convert cputime to nanoseconds.
  13. */
  14. #define cputime_to_nsecs(cputime) tod_to_ns(cputime)
  15. void account_idle_time_irq(void);
  16. #endif /* _S390_CPUTIME_H */