呼叫樹狀圖檢視Call Tree view

[呼叫樹狀圖] 檢視顯示在分析的應用程式中周遊的函式執行路徑。The Call Tree view displays the function execution paths that were traversed in the profiled application. 樹狀圖的根是應用程式或元件的進入點。The root of the tree is the entry point into the application or the component. 每個函式節點都會列出其所呼叫的所有函式,以及這些函式呼叫的效能資料。Each function node lists all the functions it called and performance data about those function calls.

[呼叫樹狀圖] 檢視也可展開並反白顯示花最多時間或最常取樣的函式的執行路徑。The Call Tree view can also expand and highlight the execution path of a function that consumed the most time or was sampled most frequently. 若要顯示效能資源使用最多的路徑,請以滑鼠右鍵按一下函式,然後按一下 [展開最忙碌路徑]。To display the most performance-expensive path, right-click the function and then click Expand Hot Path.

分析執行中的每個處理序都會顯示為根節點。Each process in the profiling run is displayed as a root node. 您可以設定 [呼叫樹狀圖] 檢視的開始節點,方法是以滑鼠右鍵按一下您想要設定為開始節點的節點,然後選取 [設定根目錄]。You can set the start node of the Call Tree view by right-clicking the node you want to set as the start node and then selecting Set Root.

設定根節點時,除了所選取節點的樹狀子目錄以外,請從檢視中排除所有其他的項目。When you set the root node, you eliminate all other entries from the view except the subtree of the selected node. 您可以將根節點重設回先前檢視的節點。You can reset the root node back to the node you were viewing. 在 [呼叫樹狀圖檢視] 視窗中,按一下滑鼠右鍵,然後選取 [重設根目錄]。On the Call Tree view window, right-click and then select Reset Root.

[呼叫樹狀圖] 檢視可以自訂以新增或移除資料行。The Call Tree view can be customized to add or remove columns. 以滑鼠右鍵按一下 [Column Name Title Bar] (資料行名稱標題列),然後選取 [新增/移除資料行]。Right-click the Column Name Title Bar, and then select Add/Remove Columns.

[呼叫樹狀圖] 檢視可以設定透過限制呈現的資料量來減少雜訊。The Call Tree view can be configured for noise reduction by limiting the amount of data that is presented. 使用減少雜訊,可讓檢視中的效能問題更為顯著。By using noise reduction, performance problems are more prominent in the view. 容易區分效能問題時,分析會較容易。When performance problems are easy to distinguish, analysis is easier. 如需詳細資訊,請參閱 如何:在報表檢視中設定減少雜訊For more information, see How to: Configure noise reduction in report views.

注意

如果設定減少雜訊在啟用時顯示警告,則會在報表中顯示資訊列。If noise reduction is configured to display a warning when it is enabled, an information bar will be displayed in the report.

如需 [呼叫樹狀圖] 檢視中資料行定義的詳細資訊,請參閱下列各項:For more information about definitions for columns in the Call Tree view, see the following:

另請參閱See also