基本信息
文件名称:能够使用VTune分析.ppt
文件大小:4.01 MB
总页数:10 页
更新时间:2025-03-16
总字数:约1.24万字
文档摘要

Projectsareorganizedlikethis:CallGraphVTuneonLinuxTerminologyCounterMonitorSamplingIntroduction/What’sNewin6.0AGENDASamplingTechnology打断处理器的执行,获得执行上下文01中断可以是周期性的,如每秒1,000次采样02采样的触发EventBasedSampling(EBS).03采样事件:处理器相关事件,如L2CacheMisses,BranchMispredictions,Floating-pointinstructionsretired,etc.04Lab1:gzipSamplingAnalysisIntroducesEBSandSamplingUI01gzipisanopensourcefilecompressionprogram02SelectNewProjectSelectSamplingWizardandthenOKSelectWin32*/Win64*/Linux*ProfilingradiobuttonandthenOKRemembereachActivityhasitsownApplication/ModuleProfileBrowsetotheapplication:gzip.exeCheckModifydefaultconfigurationThecommandlineargumentsare:-ftestfile.datClickonFinishModifytheSamplingActivitySelecttheSamplingcheckbox.ClickonConfigureUncheckCalibrateSampleAfterValuecheckboxWhydothis?源于intel讲义Nowsitrightbackandyou’llhearatale…Ataleofanewproduct..Thatstartedfromagreatidea…FromIntelengineers…ThestudentsallknowwhattheanalyzerissothisisjustaVERYQUICKhighleveldescriptionofthebenefits.Changethisfoiltomakeitbetter….(Revisedon29OctoberwithproductbenefitsandorientedaroundOptimizationDesignLevels–GregEckert)Whatisthedifferencebetweenahotspotandanbottleneck?Ahotspotiswheretofocusyourattentionwhenlookingforbottlenecks.Ifthebottleneckismicro-architecturalthenfindingahotspotisreallyimportant!ACTIVITYISNOWOVERLOADEDISTHEREABETTERWORDDOWENEEDTOADDAFOILTOADDRESSTHEFOLLOWING?Needtomotivatethisfoilwiththepurposeoftheanalyzer,tohelpidentifyandeliminatebottlenecks.Needtoexplainwhatabottleneckis.NeedtoexplainthattheanalyzeractuallyfindsHotspots,whichmayormaynotbeindicativeofbottlenecks.Needtoexplainwhatahotspotsis,andthedifferencebetweenitandabottleneck.Therearetwodifferentexecutionprofiling