JOBOBJECT_BASIC_ACCOUNTING_INFORMATION
The JOBOBJECT_BASIC_ACCOUNTING_INFORMATION structure contains basic accounting information for a job object.
typedef struct _JOBOBJECT_BASIC_ACCOUNTING_INFORMATION {
LARGE_INTEGER TotalUserTime;
LARGE_INTEGER TotalKernelTime;
LARGE_INTEGER ThisPeriodTotalUserTime;
LARGE_INTEGER ThisPeriodTotalKernelTime;
DWORD TotalPageFaultCount;
DWORD TotalProcesses;
DWORD ActiveProcesses;
DWORD TotalTerminatedProcesses;
} JOBOBJECT_BASIC_ACCOUNTING_INFORMATION, *PJOBOBJECT_BASIC_ACCOUNTING_INFORMATION;
Members
- TotalUserTime
- Specifies the total amount of user-mode execution time, in 100-nanosecond ticks, for all active processes associated with the job, as well as all terminated processes no longer associated with the job.
- TotalKernelTime
- Specifies the total amount of kernel-mode execution time, in 100-nanosecond ticks, for all active processes associated with the job, as well as all terminated processes no longer associated with the job.
- ThisPeriodTotalUserTime
- Specifies the total amount of user-mode execution time, in 100-nanosecond ticks, for all active processes associated with the job (as well as all terminated processes no longer associated with the job) since the last call that set a per-job user-mode time limit.
This member is set to 0 on creation of the job, and each time a per-job user-mode time limit is established.
- ThisPeriodTotalKernelTime
- Specifies the total amount of kernel-mode execution time, in 100-nanosecond ticks, for all active processes associated with the job (as well as all terminated processes no longer associated with the job) since the last call that set a per-job kernel-mode time limit.
This member is set to 0 on creation of the job, and each time a per-job kernel-mode time limit is established.
- TotalPageFaultCount
- Specifies the total number of page faults encountered by all active processes associated with the job, as well as all terminated processes no longer associated with the job.
- TotalProcesses
- Specifies the total number of processes associated with the job during its lifetime, including those that have terminated. For example, when a process is associated with a job, but the association fails because of a limit violation, this value is incremented.
- ActiveProcesses
- Specifies the total number of processes currently associated with the job. When a process is associated with a job, but the association fails because of a limit violation, this value is temporarily incremented. When the terminated process exits and all references to the process are released, this value is decremented.
- TotalTerminatedProcesses
- Specifies the total number of processes terminated because of a limit violation.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Winnt.h; include Windows.h.
See Also
Processes and Threads Overview, Process and Thread Structures, QueryInformationJobObject, SetInformationJobObject