Jump to content

DosGetProcessorIdleTime

From EDM2
Revision as of 00:08, 20 May 2025 by Martini (talk | contribs) (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 (...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 (ULONG proc, PULONG pTime)