Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.11 KB

time-linker-time-information.md

File metadata and controls

35 lines (22 loc) · 1.11 KB
description title ms.date f1_keywords helpviewer_keywords
Learn more about the /TIME (Linker time information) linker option.
/TIME
05/11/2022
/time
/time

/TIME (Linker time information)

Output the time taken by linker steps and total link time.

Syntax

/TIME

Remarks

The /TIME linker option displays the time taken by the linker steps and the total link time in seconds, with millisecond precision.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.

  2. Select the Configuration Properties > Linker > Command Line property page.

  3. In the Additional Options box, add the /TIME linker option. Choose OK or Apply to save your changes.

To set this linker option programmatically

  • See xref:Microsoft.VisualStudio.VCProjectEngine.VCLinkerTool.AdditionalOptions%2A.

See also

MSVC linker reference
MSVC linker options