arch/s390/include/asm/cputime.h

Source file repositories/reference/linux-study-clean/arch/s390/include/asm/cputime.h

File Facts

System
Linux kernel
Corpus path
arch/s390/include/asm/cputime.h
Extension
.h
Size
393 bytes
Lines
22
Domain
Architecture Layer
Bucket
arch/s390
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _S390_CPUTIME_H
#define _S390_CPUTIME_H

#include <linux/types.h>
#include <asm/timex.h>

/*
 * Convert cputime to nanoseconds.
 */
#define cputime_to_nsecs(cputime) tod_to_ns(cputime)

void account_idle_time_irq(void);

#endif /* _S390_CPUTIME_H */

Annotation

Implementation Notes