Go to the documentation of this file.
21 #ifdef CONFIG_BSD_PROCESS_ACCT
33 #define acct_auto_close_mnt(x) do { } while (0)
34 #define acct_auto_close(x) do { } while (0)
35 #define acct_collect(x,y) do { } while (0)
36 #define acct_process() do { } while (0)
37 #define acct_exit_ns(ns) do { } while (0)
54 #ifdef CONFIG_BSD_PROCESS_ACCT_V3
55 #define ACCT_VERSION 3
60 #define ACCT_VERSION 1
62 #define ACCT_VERSION 2
74 static inline u32 jiffies_to_AHZ(
unsigned long x)
76 #if (TICK_NSEC % (NSEC_PER_SEC / AHZ)) == 0
78 return x * (
AHZ /
HZ);
80 return x / (
HZ /
AHZ);
89 static inline u64 nsec_to_AHZ(
u64 x)
91 #if (NSEC_PER_SEC % AHZ) == 0
93 #elif (AHZ % 512) == 0