cputime.h 648 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Definitions for measuring cputime on ia64 machines.
  4. *
  5. * Based on <asm-powerpc/cputime.h>.
  6. *
  7. * Copyright (C) 2007 FUJITSU LIMITED
  8. * Copyright (C) 2007 Hidetoshi Seto <[email protected]>
  9. *
  10. * If we have CONFIG_VIRT_CPU_ACCOUNTING_NATIVE, we measure cpu time in nsec.
  11. * Otherwise we measure cpu time in jiffies using the generic definitions.
  12. */
  13. #ifndef __IA64_CPUTIME_H
  14. #define __IA64_CPUTIME_H
  15. #ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
  16. extern void arch_vtime_task_switch(struct task_struct *tsk);
  17. #endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */
  18. #endif /* __IA64_CPUTIME_H */