????1.Profile??????

?????????????????????????е??????????????????????????????????е?????????????????????

????2.Profile?????

????Profile????3???????й????PREP??PROFILE??PLIST?????????????з??????Profile??????????PREP?????ó????????????????????.PBI????????.PBT?????PROFILE????.PBI???????????в?????????????.PBO????????PREP?????.PBO?????.PBT??????????μ?.PBT?????PLIST????.PBT??????????????????

????3.IDE??????Profile?????

?????????漰?????????????

????<1>???Project->Settings->Link?????Enableprofiling?????

????<2>??????

????<3>???Build->Profile??????Profile?????

????<4>????????ú????OK????????г???

?????????漰?з????????

????<1>???Project->Settings->Link?????Enableprofiling??????Generatedebuginfo?????

????<2>???Project->Settings->C/C++?????LineNumbersOnly

????<3>??????

????<4>???Build->Profile??????Profile?????

????<5>????????ú????OK????????г???

????4.Profile????幦?????

???????build/profile????profile?????

??????????????1????

????Functiontiming????????????????????????????????????????????У?FuncTime??????????λ?????????????????????????????ú?????????????????????Func+ChildTime????????????????????????????????????????????????????????????????????????HitCount?????????????????????Function????????????????

????Functioncoverage????????????????????????????????????е?δ??в????????????г????б?????????????????*??????й????????

????Linecoverage??????????е???????????У?????????????????е?δ??в????????????г????б???????????У??????*??????й????С?

????Functioncounting????????????????????????????Profile??????????Custom??????CustomeSettings?????fcount.bat??λ??VC98/bin???£??????????????????fcount.bat??????????ò???ó?????????????????п??????????????c:ProgramFilesд??c:Progra~1??

????Linecounting?????????????е??????????е????????Profile??????????Custom??????CustomeSettings?????lcount.bat??λ??VC98/bin???£????ù??????.EXE?е??????????Profile?????????.MAP?????????????У?Line????????????к??HitCount???????????д????????????????????д???????д???????д?????????SourceLine??????????????