Toggles accounting tracking. You can return accounting information using GetRtThreadAccounting.
BOOLEAN SetRtSystemAccountingMode(
BOOLEAN bMode // Flag to turn accounting tracking on or off
);
bModeSince an error is returned if the CPU utilization mode specified in the call is already in effect, first use GetRtThreadAccounting with dwFlags set to 0 (zero) to determine the current mode.
TRUEFALSEE_OK 0x0000E_CONTEXT 0x0005bMode is already in effect.| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |