Вниз
Скачать: CL | DM;

Время выполнения процесса   Найти похожие ветки 

 
ST ©   (2003-04-11 14:15) [0]

С помощью createprocess вызываю внешнее приложение. Вопрос: как по его handle просмотреть время выполнения этого процесса?


 
Игорь Шевченко ©   (2003-04-11 14:18) [1]

GetTickCount()
CreateProcess()
WaitForSingleObject(Тот_Самый_Handle)
GetTickCount()


 
Nikolai   (2003-04-11 16:00) [2]

Для более детальной инф. см.
BOOL GetProcessTimes(
HANDLE hProcess, // specifies the process of interest
LPFILETIME lpCreationTime, // when the process was created
LPFILETIME lpExitTime, // when the process exited
LPFILETIME lpKernelTime, // time the process has spent in kernel mode
LPFILETIME lpUserTime // time the process has spent in user mode
);
ЗЫЖ под 9х это точно было на уровне затычки, под WinМе - не знаю.



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.012 c
6-26630
3d
2003-03-10 17:32
2003.06.09
Сокеты


1-26431
Avsam
2003-05-28 17:48
2003.06.09
TStrings & TStringList


14-26662
Supermagic
2003-05-21 12:37
2003.06.09
Редактор компоненты


8-26614
Арм
2003-02-26 02:37
2003.06.09
Трабла с OpenGL


1-26558
Vyacheslav
2003-05-24 15:09
2003.06.09
Как припаивают к MSword приложения типа MSequation




   Наверх