LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::telemetry::Config Struct Reference

Configuration for the Manager class. More...

#include "llvm/Telemetry/Telemetry.h"

Public Member Functions

virtual ~Config ()=default
 
 Config (bool E)
 
virtual std::optional< std::string > makeSessionId ()
 

Public Attributes

const bool EnableTelemetry
 

Detailed Description

Configuration for the Manager class.

This stores configurations from both users and vendors and is passed to the Manager upon construction. (Any changes to the config after the Manager's construction will not have any effect on it).

This struct can be extended as needed to add additional configuration points specific to a vendor's implementation.

Definition at line 66 of file Telemetry.h.

Constructor & Destructor Documentation

◆ ~Config()

virtual llvm::telemetry::Config::~Config ( )
virtualdefault

◆ Config()

llvm::telemetry::Config::Config ( bool  E)
inline

Definition at line 71 of file Telemetry.h.

Member Function Documentation

◆ makeSessionId()

virtual std::optional< std::string > llvm::telemetry::Config::makeSessionId ( )
inlinevirtual

Definition at line 73 of file Telemetry.h.

Member Data Documentation

◆ EnableTelemetry

const bool llvm::telemetry::Config::EnableTelemetry

Definition at line 70 of file Telemetry.h.


The documentation for this struct was generated from the following file: