LLVM 20.0.0git
Public Member Functions | List of all members
llvm::telemetry::Manager Class Referenceabstract

This class is the main interaction point between any LLVM tool and this framework. More...

#include "llvm/Telemetry/Telemetry.h"

Public Member Functions

virtual ~Manager ()=default
 
virtual Error preDispatch (TelemetryInfo *Entry)=0
 
virtual Error dispatch (TelemetryInfo *Entry)
 
void addDestination (std::unique_ptr< Destination > Destination)
 

Detailed Description

This class is the main interaction point between any LLVM tool and this framework.

It is responsible for collecting telemetry data from the tool being monitored and transmitting the data elsewhere.

Definition at line 137 of file Telemetry.h.

Constructor & Destructor Documentation

◆ ~Manager()

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

Member Function Documentation

◆ addDestination()

void llvm::telemetry::Manager::addDestination ( std::unique_ptr< Destination Destination)

Definition at line 21 of file Telemetry.cpp.

◆ dispatch()

Error llvm::telemetry::Manager::dispatch ( TelemetryInfo Entry)
virtual

Definition at line 10 of file Telemetry.cpp.

References llvm::joinErrors(), preDispatch(), and llvm::Error::success().

◆ preDispatch()

virtual Error llvm::telemetry::Manager::preDispatch ( TelemetryInfo Entry)
pure virtual

Referenced by dispatch().


The documentation for this class was generated from the following files: