Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.41 KB

File metadata and controls

41 lines (28 loc) · 1.41 KB
title description ms.date helpviewer_keywords ms.topic ms.custom
AnalyzeW - C++ Build Insights SDK
The C++ Build Insights SDK AnalyzeW function reference. Use the AnalyzeW function to analyze MSVC events read from an input Event Tracing for Windows trace.
06/16/2022
C++ Build Insights
C++ Build Insights SDK
AnalyzeW
throughput analysis
build time analysis
vcperf.exe
reference
kr2b-contr-experiment

AnalyzeW function

::: moniker range="<=msvc-140"

The C++ Build Insights SDK is compatible with Visual Studio 2017 and later. To see the documentation for these versions, set the Visual Studio Version selector control for this article to Visual Studio 2017 or later. It's found at the top of the table of contents on this page.

::: moniker-end ::: moniker range=">=msvc-150"

The AnalyzeW function is used to analyze MSVC events read from an input Event Tracing for Windows (ETW) trace.

Syntax

enum RESULT_CODE AnalyzeW(
    const wchar_t*             inputLogFile,
    const ANALYSIS_DESCRIPTOR* analysisDescriptor);

Parameters

inputLogFile
The input ETW trace that you wish to read events from.

analysisDescriptor
Pointer to an ANALYSIS_DESCRIPTOR object. Use this object to configure the analysis.

Return Value

A result code from the RESULT_CODE enum.

::: moniker-end