LLVM: llvm::telemetry::Config Struct Reference (original) (raw)

Configuration for the Manager class. More...

#include "[llvm/Telemetry/Telemetry.h](Telemetry%5F8h%5Fsource.html)"

Public Member Functions
Config ()
virtual ~Config ()=default
Config (bool E)
virtual std::optional< std::string > makeSessionId ()
Static Public Attributes
static constexpr bool BuildTimeEnableTelemetry = LLVM_ENABLE_TELEMETRY

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 65 of file Telemetry.h.

Config() [1/2]

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

Config() [2/2]

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

makeSessionId()

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

BuildTimeEnableTelemetry

bool llvm::telemetry::Config::BuildTimeEnableTelemetry = LLVM_ENABLE_TELEMETRY staticconstexpr

EnableTelemetry

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


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