DosGetProcessorIdleTime: Difference between revisions
Appearance
Created page with "Category:Undocumented Get idle time of a processor. Get idle time in milliseconds ==Syntax== DosGetProcessorIdleTime (proc, pTime) ==Parameters== ;''proc'' (ULONG) - input: Processor number ;''pTime'' (PULONG) - input: pointer to time returned ==Returns== NO_ERROR ERROR_INVALID_PARAMETER ==Remarks== DosGetProcessorIdleTime returns the idle time of the specified processor in milliseconds. ==Example Code== Calling Sequence APIRET DosGetProcessorIdleTime (..." |
|||
Line 9: | Line 9: | ||
;''pTime'' ([[PULONG]]) - input: pointer to time returned | ;''pTime'' ([[PULONG]]) - input: pointer to time returned | ||
==Returns== | ==Returns== | ||
NO_ERROR | :NO_ERROR | ||
ERROR_INVALID_PARAMETER | :ERROR_INVALID_PARAMETER | ||
==Remarks== | ==Remarks== | ||
DosGetProcessorIdleTime returns the idle time of the specified processor in milliseconds. | DosGetProcessorIdleTime returns the idle time of the specified processor in milliseconds. |
Latest revision as of 00:08, 20 May 2025
Get idle time of a processor. Get idle time in milliseconds
Syntax
DosGetProcessorIdleTime (proc, pTime)
Parameters
Returns
- NO_ERROR
- ERROR_INVALID_PARAMETER
Remarks
DosGetProcessorIdleTime returns the idle time of the specified processor in milliseconds.
Example Code
Calling Sequence
APIRET DosGetProcessorIdleTime (ULONG proc, PULONG pTime)