Funzione KeQueryRuntimeThread (wdm.h)
La routine KeQueryRuntimeThread segnala l'ora di esecuzione accumulata in modalità kernel e utente di un thread, in tick di clock.
Sintassi
ULONG KeQueryRuntimeThread(
[in] PKTHREAD Thread,
[out] PULONG UserTime
);
Parametri
[in] Thread
Puntatore a un oggetto dispatcher di tipo KTHREAD.
[out] UserTime
Puntatore alla posizione di memoria in cui KeQueryRuntimeThread restituisce l'ora di esecuzione in modalità utente accumulata del thread corrente, in tick di clock.
Valore restituito
KeQueryRuntimeThread restituisce l'ora di esecuzione in modalità kernel accumulata del thread corrente, in tick di clock.
Fabbisogno
Requisito | Valore |
---|---|
client minimo supportato | Disponibile a partire da Windows XP. |
piattaforma di destinazione | Universale |
intestazione | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
libreria | NtosKrnl.lib |
dll | NtosKrnl.exe |
IRQL | PASSIVE_LEVEL |
regole di conformità DDI | HwStorPortProhibitedDDIs(storport), PowerIrpDDis(wdm) |