+#define ru_last ru_nivcsw /* internal: ruadd() range end */
+#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */
+};
+
+
+#ifdef KERNEL
+
+struct user64_rusage {
+ struct user64_timeval ru_utime; /* user time used */
+ struct user64_timeval ru_stime; /* system time used */
+ user64_long_t ru_maxrss; /* max resident set size */
+ user64_long_t ru_ixrss; /* integral shared memory size */
+ user64_long_t ru_idrss; /* integral unshared data " */
+ user64_long_t ru_isrss; /* integral unshared stack " */
+ user64_long_t ru_minflt; /* page reclaims */
+ user64_long_t ru_majflt; /* page faults */
+ user64_long_t ru_nswap; /* swaps */
+ user64_long_t ru_inblock; /* block input operations */
+ user64_long_t ru_oublock; /* block output operations */
+ user64_long_t ru_msgsnd; /* messages sent */
+ user64_long_t ru_msgrcv; /* messages received */
+ user64_long_t ru_nsignals; /* signals received */
+ user64_long_t ru_nvcsw; /* voluntary context switches */
+ user64_long_t ru_nivcsw; /* involuntary " */
+};
+
+struct user32_rusage {
+ struct user32_timeval ru_utime; /* user time used */
+ struct user32_timeval ru_stime; /* system time used */
+ user32_long_t ru_maxrss; /* max resident set size */
+ user32_long_t ru_ixrss; /* integral shared memory size */
+ user32_long_t ru_idrss; /* integral unshared data " */
+ user32_long_t ru_isrss; /* integral unshared stack " */
+ user32_long_t ru_minflt; /* page reclaims */
+ user32_long_t ru_majflt; /* page faults */
+ user32_long_t ru_nswap; /* swaps */
+ user32_long_t ru_inblock; /* block input operations */
+ user32_long_t ru_oublock; /* block output operations */
+ user32_long_t ru_msgsnd; /* messages sent */
+ user32_long_t ru_msgrcv; /* messages received */
+ user32_long_t ru_nsignals; /* signals received */
+ user32_long_t ru_nvcsw; /* voluntary context switches */
+ user32_long_t ru_nivcsw; /* involuntary " */