LLDB  mainline
Functions
Statistics.cpp File Reference
#include "lldb/Target/Statistics.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/Module.h"
#include "lldb/Symbol/SymbolFile.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/UnixSignals.h"
Include dependency graph for Statistics.cpp:

Go to the source code of this file.

Functions

static void EmplaceSafeString (llvm::json::Object &obj, llvm::StringRef key, const std::string &str)
 
static double elapsed (const StatsTimepoint &start, const StatsTimepoint &end)
 

Function Documentation

◆ elapsed()

static double elapsed ( const StatsTimepoint start,
const StatsTimepoint end 
)
static

◆ EmplaceSafeString()

static void EmplaceSafeString ( llvm::json::Object &  obj,
llvm::StringRef  key,
const std::string str 
)
static

Definition at line 22 of file Statistics.cpp.

Referenced by lldb_private::ModuleStats::ToJSON().