JOBOBJECT_BASIC_ACCOUNTING_INFORMATION

[This is preliminary documentation and subject to change.]

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 object, as well as all terminated processes no longer associated with the job object.
TotalKernelTime
Specifies the total amount of kernel-mode execution time, in 100-nanosecond ticks, for all active processes associated with the job object, as well as all terminated processes no longer associated with the job object.
ThisPeriodTotalUserTime
Specifies the total amount of user-mode execution time, in 100-nanosecond ticks, for all active processes associated with the job object (as well as all terminated processes no longer associated with the job object) since the last call that set a per-job user-mode time limit.

This member is set to 0 on creation of the job object, 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 object (as well as all terminated processes no longer associated with the job object) since the last call that set a per-job kernel-mode time limit.

This member is set to 0 on creation of the job object, 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 object, as well as all terminated processes no longer associated with the job object.
TotalProcesses
Specifies the total number of processes associated with the job object 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 object. 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.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in winnt.h.

See Also

Processes and Threads Overview, Process and Thread Structures, QueryInformationJobObject, SetInformationJobObject