呼叫樹狀圖檢視 - 檢測資料Call Tree view - instrumentation data

呼叫樹狀圖中的函式值,表示呼叫樹狀圖中父函式呼叫函式執行個體的時間。The values for a function in the call tree indicate the time for the function instances that were called by the parent function in the call tree. 百分比值的計算方式是比較在分析執行中函式執行個體的值與所有函式的總功能內含耗用 (Elapsed Inclusive) 時間。Percentage values are calculated by comparing the value of the function instances to the total elapsed inclusive time of all functions in the profiling run.

一般General

一般資料行會識別檢視列中的函式。The general columns identify the function in a view row.

資料行Column 描述Description
函數名稱Function Name 函式的名稱。The name of the function.
函數位址Function Address 函式的位址。The address of the function.
函式行號Function Line Number 原始程式檔中這個函式的開頭行號。The line number of the start of this function in the source file.
呼叫次數Number of Calls 呼叫此函式的總次數。The total number of calls that were made to this function.
來源檔案Source File 含有這個函式定義的原始程式檔。The source file that contains the definition for this function.
模組名稱Module Name 包含該函式的模組名稱。The name of the module that contains the function.
模組路徑Module Path 包含該函式的模組路徑。The path of the module that contains the function.
處理序識別碼Process ID 分析執行的處理序 ID (PID)。The process ID (PID) of the profiling run.
進程名稱Process Name 指派給處理序的名稱。The name that is assigned to the process.
時間專有探查額外負荷Time Exclusive Probe Overhead 檢測對這個函式造成的時間額外負荷。The time overhead for this function that was caused by instrumentation. 已經從所有專有時間減去探查額外負荷。Probe overhead has been subtracted from all exclusive times.
時間內含探查額外負荷Time Inclusive Probe Overhead 檢測對這個函式及其子函式所造成的時間額外負荷。The time overhead for this function and its child functions that was caused by instrumentation. 已經從所有內含時間減去探查額外負荷。Probe overhead has been subtracted from all inclusive times.
LevelLevel 函式在呼叫樹狀圖中的深度。The depth of the function in the call tree. 只在VSPerfReport 命令列的報表中。Only in VSPerfReport command-line reports.

功能內含耗用值Elapsed inclusive values

功能內含耗用值表示呼叫樹狀圖中父函式所呼叫之函式執行個體在呼叫堆疊上的時間。Elapsed inclusive values indicate the time on the call stack of those instances of the function that were called by the parent function in the call tree. 該時間包含函式呼叫子函式以及呼叫作業系統所花費的時間,例如內容切換和輸入/輸出作業。The time includes time that was spent in child functions that were called by the function and in calls to the operating system, such as context switches and input/output operations.

資料行Column 描述Description
功能內含耗用 (Elapsed Inclusive) 時間Elapsed Inclusive Time 在此內容中這個函式所有呼叫的總功能內含耗用 (Elapsed Inclusive) 時間。The total elapsed inclusive time of all calls to this function in this context.
功能內含耗用 (Elapsed Inclusive) 時間 %Elapsed Inclusive Time % 在分析執行的總功能內含耗用時間中,花費在此內容中此函式之總功能內含耗用時間的百分比。The percentage of the total elapsed inclusive time of the profiling run that was spent in the total elapsed inclusive time of this function in this context.
平均功能內含耗用 (Elapsed Inclusive) 時間Avg Elapsed Inclusive Time 在此內容中呼叫此函式的平均功能內含耗用 (Elapsed Inclusive) 時間。The average elapsed inclusive time of a call to this function in this context.
最大功能內含耗用 (Elapsed Inclusive) 時間Max Elapsed Inclusive Time 在此內容中呼叫此函式的最大功能內含耗用 (Elapsed Inclusive) 時間。The maximum elapsed inclusive time of a call to this function in this context.
最小功能內含耗用 (Elapsed Inclusive) 時間Min Elapsed Inclusive Time 在此內容中呼叫此函式的最小功能內含耗用 (Elapsed Inclusive) 時間。The minimum elapsed inclusive time of a call to this function in this context.

功能專屬耗用值Elapsed exclusive values

功能專屬耗用值表示呼叫樹狀圖中父函式所呼叫之函式執行個體在函式主體中執行程式碼的時間,也就是當函式位於呼叫堆疊的頂端時。Elapsed exclusive values indicate the time that those instances of a function that were called by the parent function in the call tree were executing code in the function body; that is, when the function was at the top of the call stack. 該時間包含呼叫作業系統所花費的時間,例如內容切換和輸入/輸出作業。The time includes time in calls to the operating system, such as context switches and input/output operations. 不過,該時間不包括函式呼叫子函式所花費的時間。However, the time does not include time that was spent in child functions that were called by the function.

資料行Column 描述Description
功能專屬耗用 (Elapsed Exclusive) 時間Elapsed Exclusive Time 在此內容中這個函式所有呼叫的總功能專屬耗用 (Elapsed Exclusive) 時間。The total elapsed exclusive time of all calls to this function in this context.
功能專屬耗用 (Elapsed Exclusive) 時間 %Elapsed Exclusive Time % 在分析執行的總功能專屬耗用時間中,花費在此內容中此函式之總功能專屬耗用時間的百分比。The percentage of the total elapsed exclusive time of the profiling run that was spent in the total elapsed exclusive time of this function in this context.
平均功能專屬耗用 (Elapsed Exclusive) 時間Avg Elapsed Exclusive Time 在此內容中呼叫此函式的平均功能專屬耗用 (Elapsed Exclusive) 時間。The average elapsed exclusive time of a call to this function in this context.
最大功能專屬耗用 (Elapsed Exclusive) 時間Max Elapsed Exclusive Time 在此內容中呼叫此函式的最大功能專屬耗用 (Elapsed Exclusive) 時間。The maximum elapsed exclusive time of a call to this function in this context.
最小功能專屬耗用 (Elapsed Exclusive) 時間Min Elapsed Exclusive Time 在此內容中呼叫此函式的最小功能專屬耗用 (Elapsed Exclusive) 時間。The minimum elapsed exclusive time of a call to this function in this context.

應用程式內含值Application inclusive values

應用程式內含值表示呼叫樹狀圖中父函式所呼叫之函式執行個體位於呼叫堆疊上的時間。Application inclusive values indicate the time that instances of a function that were called by the parent function in the call tree were on the call stack. 該時間不包含呼叫作業系統所花費的時間,例如內容切換和輸入/輸出作業,但包含函式呼叫子函式所花費的時間。The time does not include time that was spent in calls to the operating system, such as context switches and input/output operations, However, the time does include time that was spent in child functions that were called by the function.

資料行Column 描述Description
應用程式內含 (Application Inclusive) 時間Application Inclusive Time 在此內容中這個函式所有呼叫的總應用程式內含 (Application Inclusive) 時間。The total application inclusive time of all calls to this function in this context.
應用程式內含 (Application Inclusive) 時間 %Application Inclusive Time % 在分析執行的總功能內含耗用時間中,花費在此內容中此函式之總應用程式內含時間的百分比。The percentage of the total elapsed inclusive time of the profiling run that was spent in the total application inclusive time of this function in this context.
平均應用程式內含 (Application Inclusive) 時間Avg Application Inclusive Time 在此內容中呼叫此函式的平均應用程式內含 (Application Inclusive) 時間。The average application inclusive time of a call to this function in this context.
最大應用程式內含 (Application Inclusive) 時間Max Application Inclusive Time 在此內容中呼叫此函式的最大應用程式內含 (Application Inclusive) 時間。The maximum application inclusive time of a call to this function in this context.
最小應用程式內含 (Application Inclusive) 時間Min Application Inclusive Time 在此內容中呼叫此函式的最小應用程式內含 (Application Inclusive) 時間。The minimum application inclusive time of a call to this function in this context.

應用程式專屬值Application exclusive values

應用程式專屬值表示呼叫樹狀圖中父函式所呼叫之函式執行個體在函式主體中直接執行程式碼的時間,也就是當函式位於呼叫堆疊的頂端時。Application exclusive values indicate the time that those instances of a function that were called by the parent function in the call tree were directly executing code in the function body; that is, when the function was at the top of the call stack. 該時間不包含呼叫作業系統所花費的時間,例如內容切換和輸入/輸出作業。The time does not include time that was spent in calls to the operating system, such as context switches and input/output operations. 也不包括函式呼叫子函式所花費的時間。It also does not include time that was spent in child functions that were called by the function.

資料行Column 描述Description
應用程式專屬 (Application Exclusive) 時間Application Exclusive Time 在此內容中這個函式所有呼叫的總應用程式專屬 (Application Exclusive) 時間。The total application exclusive time of all calls to this function in this context.
應用程式專屬 (Application Exclusive) 時間 %Application Exclusive Time % 在分析執行的總功能專屬耗用時間中,花費在此內容中此函式之總應用程式專屬時間的百分比。The percentage of the total elapsed exclusive time of the profiling run that was spent in the total application exclusive time of this function in this context.
平均應用程式專屬 (Application Exclusive) 時間Avg Application Exclusive Time 在此內容中呼叫此函式的平均應用程式專屬 (Application Exclusive) 時間。The average application exclusive time of a call to this function in this context.
最大應用程式專屬 (Application Exclusive) 時間Max Application Exclusive Time 在此內容中呼叫此函式的最大應用程式專屬 (Application Exclusive) 時間。The maximum application exclusive time of a call to this function in this context.
最小應用程式專屬 (Application Exclusive) 時間Min Application Exclusive Time 在此內容中呼叫此函式的最小應用程式專屬 (Application Exclusive) 時間。The minimum application exclusive time of a call to this function in this context.

另請參閱See also