다음을 통해 공유


VCPROFILE_PATH

 

The latest version of this topic can be found at VCPROFILE_PATH.

Specify the directory to create .pgc files.

Syntax

VCPROFILE_PATH=path  

Parameters

path
The directory path in which .pgc files will be added.

Remarks

By default, .pgc files are created in the same directory as the binary being profiled. However, if the absolute path of the binary does not exist, as may be the case when you run profile scenarios on a different machine from where the binary was built, you can set VCPROFILE_PATH to a path that exists.

Example

set VCPROFILE_PATH=c:\  

See Also

Environment Variables for Profile-Guided Optimizations