Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.06.09;
Скачать: 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 вся ветка

Текущий архив: 2003.06.09;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.015 c
1-26600
Rise
2003-05-28 16:34
2003.06.09
StringGrid


1-26466
Vorobyev Sergey
2003-05-29 08:37
2003.06.09
Есть ли методы быстрого чтения больших файлов XML?


3-26366
Apachi
2003-05-21 07:39
2003.06.09
Дерево


1-26598
Intell
2003-05-26 17:43
2003.06.09
Как текст из Edit перевести в цифры?


1-26544
AlexGof
2003-05-26 16:29
2003.06.09
Как узнать открыт ли в MS Word файл ?