Compartir a través de


VCPROFILE_PATH

Specify the directory to create .pgc files.

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

Reference

Environment Variables for Profile-Guided Optimizations