Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.14 KB

vcprofile-path.md

File metadata and controls

42 lines (35 loc) · 1.14 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
VCPROFILE_PATH | Microsoft Docs
11/04/2016
cpp-tools
article
VCPROFILE_PATH
C++
VCPROFILE_PATH environment variable
25217aa4-7e86-4eba-854d-10b3c457e4df
4
corob-msft
corob
ghogen

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