LLVM 19.0.0git
Public Member Functions | List of all members
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

 SignpostEmitter ()
 
 ~SignpostEmitter ()
 
bool isEnabled () const
 
void startInterval (const void *O, StringRef Name)
 Begin a signposted interval for a given object.
 
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 27 of file Signposts.h.

Constructor & Destructor Documentation

◆ SignpostEmitter()

SignpostEmitter::SignpostEmitter ( )

Definition at line 103 of file Signposts.cpp.

◆ ~SignpostEmitter()

SignpostEmitter::~SignpostEmitter ( )
default

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.

References Name.

◆ 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.

References Name.


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