LLVM 22.0.0git
llvm::SignpostEmitter Class Reference

Manages the emission of signposts into the recording method supported by the OS. More...

#include "llvm/Support/Signposts.h"

Public Member Functions

LLVM_ABI SignpostEmitter ()
LLVM_ABI ~SignpostEmitter ()
LLVM_ABI bool isEnabled () const
LLVM_ABI void startInterval (const void *O, StringRef Name)
 Begin a signposted interval for a given object.
LLVM_ABI void endInterval (const void *O, StringRef Name)
 End a signposted interval for a given object.

Detailed Description

Manages the emission of signposts into the recording method supported by the OS.

Definition at line 28 of file Signposts.h.

Constructor & Destructor Documentation

◆ SignpostEmitter()

SignpostEmitter::SignpostEmitter ( )

Definition at line 103 of file Signposts.cpp.

◆ ~SignpostEmitter()

SignpostEmitter::~SignpostEmitter ( )
default

References LLVM_ABI.

Member Function Documentation

◆ endInterval()

void SignpostEmitter::endInterval ( const void * O,
StringRef Name )

End a signposted interval for a given object.

Definition at line 127 of file Signposts.cpp.

Referenced by llvm::Timer::stopTimer().

◆ isEnabled()

bool SignpostEmitter::isEnabled ( ) const

Definition at line 111 of file Signposts.cpp.

◆ startInterval()

void SignpostEmitter::startInterval ( const void * O,
StringRef Name )

Begin a signposted interval for a given object.

Definition at line 119 of file Signposts.cpp.

Referenced by llvm::Timer::startTimer().


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