Share via


Local Information Records

OverviewDetails

Feature Only in Professional and Enterprise Editions   Profiling is supported only in Visual C++ Professional and Enterprise Editions. For more information, see .

The local information records contain information about specific functions or lines that were profiled. The format tag numbers for local information records are 6 and 7. A file can have only one type of local information record. The line formats are as follows:

Profiling Function Information Line Format

6 exe source count time child func
Field Explanation
6 Format tag number.
exe ASCII name of the executable file that contains the function.
source ASCII name of the object module (including the .OBJ extension) that contains the function.
count Number of times the function has been executed.
time Amount of time spent executing the function in milliseconds. This field is zero for counting or coverage profiles.
child Amount of time spent executing the function and any child functions it calls. This field is zero for counting or coverage profiles.
func ASCII name of the function.

Profiling Line Information Line Format

7 exe source line count
Field Explanation
7 Format tag number.
exe ASCII name of the executable file that contains the first line of this function.
Source ASCII name of the source file that contains the first line of this function.
Line Line number.
Count Number of times the line has been executed. For coverage profiles, this field is 1 if the line has been executed and 0 otherwise.

Profiling Function-Attribution Stacks Line Format

8 number of stacks
Field Explanation
8 Format tag number
Number of stacks Number of stacks for each function call

Profiling Stack Hits and Timing Line Format

9 stack size hit count stack time child time
Field Explanation
9 Format tag number
Stack size Stack size for each function call
hit count Hit count for this stack
Stack time This stack’s self-time
Child time This stack’s child-time

Profiling Stack Function Name Line Format

10 function name
Field Explanation
10 Format tag number.
Function name Each function’s name on the stack. The number of names that appear here will be equal to the stack size field in the Profiling Stack Hits and Timing Line Format.