LLDB mainline
Classes | Namespaces | Macros
Timer.h File Reference
#include "lldb/lldb-defines.h"
#include "llvm/Support/Chrono.h"
#include <atomic>
#include <cstdint>

Go to the source code of this file.

Classes

class  lldb_private::Timer
 A timer class that simplifies common timing metrics. More...
 
class  lldb_private::Timer::Category
 

Namespaces

namespace  lldb_private
 A class that represents a running process on the host machine.
 

Macros

#define LLDB_SCOPED_TIMER()
 
#define LLDB_SCOPED_TIMERF(...)
 

Macro Definition Documentation

◆ LLDB_SCOPED_TIMER

#define LLDB_SCOPED_TIMER ( )
Value:
static ::lldb_private::Timer::Category _cat(LLVM_PRETTY_FUNCTION); \
::lldb_private::Timer _scoped_timer(_cat, "%s", LLVM_PRETTY_FUNCTION)
A timer class that simplifies common timing metrics.
Definition: Timer.h:23

Definition at line 83 of file Timer.h.

◆ LLDB_SCOPED_TIMERF

#define LLDB_SCOPED_TIMERF (   ...)
Value:
static ::lldb_private::Timer::Category _cat(LLVM_PRETTY_FUNCTION); \
::lldb_private::Timer _scoped_timer(_cat, __VA_ARGS__)

Definition at line 86 of file Timer.h.