원본 : http://www.debuglab.com/knowledge/profiling.html
1.요약
프로그램의 실행 시간을 알아보는 프로파일링 기능에 대해서 알아봅니다.
2.본문
윈도우에서 지원해주는 프로그램의 performance 를 알아보는 기능중에는 아래와 같이 4가지가 있습니다.
1) PView(Process Viewer)
2) Profiler
3) Spy++
4) Windows NT Performance monitor
이중에서 VC++ 컴파일러가 제공해주는 기능인 Profiler 는 현재 사용되는 프로그램의 수행 속도를 다양한 옵션을 사용해서 여러각도로 결과값을 제공해주는 기능입니다. 이중에서 함수의 수행속도를 알고자 했을 경우에는 아래와 같은 결과를 보여줍니다. 보다 더 자세한 내용은 MSDN 에서 Profiler 로 찾아보시면 유용한 팁이 많이 나옵니다. Profiler 유용하군요. ^^.
3.예제
4.참고
Overviews : Performance Tuning (MSDN)
- 2001.08.13 Smile Seo -
1.요약
프로그램의 실행 시간을 알아보는 프로파일링 기능에 대해서 알아봅니다.
2.본문
윈도우에서 지원해주는 프로그램의 performance 를 알아보는 기능중에는 아래와 같이 4가지가 있습니다.
1) PView(Process Viewer)
2) Profiler
3) Spy++
4) Windows NT Performance monitor
이중에서 VC++ 컴파일러가 제공해주는 기능인 Profiler 는 현재 사용되는 프로그램의 수행 속도를 다양한 옵션을 사용해서 여러각도로 결과값을 제공해주는 기능입니다. 이중에서 함수의 수행속도를 알고자 했을 경우에는 아래와 같은 결과를 보여줍니다. 보다 더 자세한 내용은 MSDN 에서 Profiler 로 찾아보시면 유용한 팁이 많이 나옵니다. Profiler 유용하군요. ^^.
program Statistics
------------------
Command line at 2001 Jan 15
08:51: "D:\myProg\TestApp\PropertyTest\Debug\PropertyTest"
Total time: 2848.924 millisecond
Time outside of functions: 11.820 millisecond
Call depth: 15
Total functions: 141
Total hits: 1868
Function coverage: 51.8%
Overhead Calculated 6
Overhead Average 6
Module Statistics for propertytest.exe
--------------------------------------
Time in module: 2837.104 millisecond
Percent of time in module: 100.0%
Functions in module: 141
Hits in module: 1868
Module function coverage: 51.8%
Func Func+Child Hit
Time % Time % Count Function
---------------------------------------------------------
2599.647 91.6 2716.741 95.8 44 CWinThread::PumpMessage
(void) (mfc42d.dll)
130.907 4.6 131.192 4.6 207 CWnd::DefWindowProcA
(unsigned int,unsigned int,long) (mfc42d.dll)
58.981 2.1 2835.973 100.0 1 CDialog::DoModal(void)
(mfc42d.dll)
:
:
:
3.예제
4.참고
Overviews : Performance Tuning (MSDN)
- 2001.08.13 Smile Seo -
"Win32 API" 카테고리의 다른 글
- 캐럿의 위치 알기 (0)2007/03/19
- 포인터 변수를 검증하기위한 매크로 (0)2007/03/19
- 프로파일링(Profiling) 기능 활용하기 (0)2007/03/19
- Bitmap 이미지 resizing 하기 (0)2007/03/19
- 문자열에서 드라이브,디렉토리,파일이름, 확장자... (0)2007/03/19
Tags Profiling

수안이의 컴퓨터 연구실



Leave your greetings.