LLVM 22.0.0git
|
This class is the main interaction point between any LLVM tool and this framework. More...
#include "llvm/Telemetry/Telemetry.h"
Public Member Functions | |
Manager ()=default | |
virtual | ~Manager ()=default |
Manager (Manager const &)=delete | |
Manager & | operator= (Manager const &)=delete |
virtual Error | dispatch (TelemetryInfo *Entry) |
void | addDestination (std::unique_ptr< Destination > Destination) |
Protected Member Functions | |
virtual Error | preDispatch (TelemetryInfo *Entry) |
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 145 of file Telemetry.h.
|
default |
Referenced by Manager(), and operator=().
|
virtualdefault |
void llvm::telemetry::Manager::addDestination | ( | std::unique_ptr< Destination > | Destination | ) |
Definition at line 36 of file Telemetry.cpp.
Referenced by operator=().
|
virtual |
Definition at line 23 of file Telemetry.cpp.
References assert(), llvm::telemetry::Config::BuildTimeEnableTelemetry, llvm::joinErrors(), preDispatch(), and llvm::Error::success().
Referenced by operator=().
References addDestination(), dispatch(), Manager(), and preDispatch().
|
protectedvirtual |
Definition at line 40 of file Telemetry.cpp.
References llvm::Error::success().
Referenced by dispatch(), and operator=().