PerfMon: Performance Monitor

Click to open or copy the files for the PerfMon sample.

The PerfMon tool allows you to view information about the resources being used by the operating system. It is the quintessential sample of how an application can get performance data from the registry.

Building SDK Samples

This sample uses the following keywords:

aboutdlg; addnewname; alertdata; alertitemtopmargin; allocateperfdata; anylogline; argument_present; beginpaint; binittimeline; bookmarkdlg; boolequal; buildnametable; buildnewnametable; buildoldnametable; callwinhelp; cbadd; cbdata; cbfind; cbinsert; cbreset; cbselection; cbsetdata; cbsetselection; cbstring; cbstringlen; chartdeleteline; chartooembuff; checkdlgbutton; checkradiobutton; chooselogcomputerdlgproc; cleargraphtimer; closelogstoptimer; colcangrow; convertunicodestr; counter_average_bulk; counter_average_timer; counter_bulk; counter_counter; counter_counter_common; counter_elapsed_time; counter_large_rawcount; counter_null; counter_queuelen; counter_raw_fraction; counter_rawcount; counter_text; counter_timer; counter_timer100ns; counter_timer100ns_inv; counter_timer100ns_multi; counter_timer100ns_multi_inv; counter_timer_common; counter_timer_inv; counter_timer_multi; counter_timer_multi_inv; createbrushindirect; createscreendc; createsolidbrush; createthread; currentalertline; currentgraphline; dbg_unreferenced_parameter; dda_distribute; defwindowproc; deletebitmap; deletebrush; deletefont; deletepen; destroywindow; dialogbox; dialogcontrol; dialogint; dialogsetint; dialogsetstring; dialogtext; didisabled; dientire; difocus; difocuschanged; diindex; diselected; diselectionchanged; displaytimeline; diwindow; dragqueryfile; drawgrid; drawmenubar; drawtlgraphdata; editmodified; editsetlimit; editsetmodified; editsettextendpos; editsettextpos; eelapsedtime; egettimeinterval; enddialog; endpaint; errorexit; eupdateave; eupdatemax; eupdatemin; eupdateminmaxave; evalthischar; fileerrormessagebox; filehandlecreate; filehandleopen; filehandlereadonly; filemap; fileseekbegin; fileseekcurrent; fileseekend; filetell; fileunmap; firstcounter; firstindexblock; firstinstance; firstobject; framerect; gdisetbatchlimit; getcounterdata; getcounterdef; getcounternumbytitleindex; getcurrentprocess; getcurrentthread; getcurrentthreadid; getdatetimeformats; getdc; getdlgitem; getgraphconfig; gethelptext; getinstance; getinstancebyname; getinstancebynameusingparenttitleindex; getinstancebyuniqueid; getinstancecounterdata; getinstancename; getinstancenamestr; getinternational; getkeystate; getlasterror; getnextinstance; getobjectdef; getobjectdefbyname; getobjectdefbytitleindex; getobjectidbyname; getopenfilename; getperfcomputername; getprocaddress; getprofileint; getprofilestring; getsavefilename; getstockobject; getsyscolor; getsystemnames; gettextmetrics; gettickcount; getuserdefaultlangid; graphdata; graphoptiondlg; handleselectionstate; hline; horzinchpixels; id; ilbegin; ilend; ilgrabwidth; ilmode; ilrange; ilstart; ilstartpixel; ilstop; ilstoppixel; ilwidth; inalertadd; inchartadd; inreportadd; insertgraph; insertsystem; instancename; invalidaterect; isbookmarkindex; isbw; iscounternameindex; isdataindex; isiconic; islegendlabelvisible; islocalcomputer; isnumberinunicodelist; isprinterdc; isremotecomputer; istlinewindowup; killtimer; labeltopmargin; lbadd; lbdata; lbdelete; lbfind; lbfocus; lbinsert; lbnumitems; lbreset; lbselected; lbselection; lbsetdata; lbsethorzextent; lbsetredraw; lbsetselection; lbsetvisible; lbstring; legenddata; legendhorzmargin; legenditemtopmargin; legendleftmargin; lineparentname; loadcursor; loadlibrary; loadlinegraphsettings; loadrefreshsettings; loadstring; logappendsetup; logbuildnametable; logdata; logentryn; logfindentry; lstrcat; lstrcmp; lstrcpy; lstrlen; memcpy; memoryallocate; memoryresize; memorysize; menucheck; messagebox; mlbsetselection; modelessdispatch; nextcounter; nextinstance; nextobject; nextrelogindexposition; numcolorindexes; numprinterlinecolors; numprinterlinestyles; numstyleindexes; numwidthindexes; openfilehandler; opensystemperfdata; perfmonviewwindow; pinexclusive; pininclusive; playingbacklog; pointerseek; polyline; posterror; primarylangid; pstrsame; pstrsamei; queryperformancename; querytitleentry; rectcontract; rectdrawable; regcreatekeyex; registerwindowmessage; regopenkeyex; regqueryvalueex; regsetvalueex; releasemutex; removeobjectsfromsystem; reportdata; resetgraphtimer; rgb; sample_common; sample_counter; sample_fraction; savefilehandler; selectbitmap; selectbrush; selectfont; selectlogobjects; selectobject; selectpen; senddlgitemmessage; sendmessage; setarrowcursor; setbkmode; setcursor; setfont; setgraphtimer; sethourglasscursor; setlocale; setpriorityclass; setthreadpriority; settimer; simulatebuttonpush; statusbottommargin; statusdrawavg; statusdrawmax; statusdrawmin; statusleftmargin; statustextmargin; statustopmargin; statusvaluemargin; strclr; strcpy; strempty; stringload; strnsame; strsame; strsamei; switch; swscanf; systemcount; text; translateaccelerator; tsprintf; unmapviewoffile; updatelgdata; updatelines; va_arg; valuemargin; vertinchpixels; vertpointpixels; vline; waitforsingleobject; wcstoul; windowexstyle; windowid; windowinstance; windowinvalidate; windowparent; windowsetid; windowsetstyle; windowshow; windowstyle; winhelp