LLDB mainline
Functions
Statistics.cpp File Reference
#include "lldb/Target/Statistics.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/Module.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Symbol/SymbolFile.h"
#include "lldb/Target/DynamicLoader.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/UnixSignals.h"
#include "lldb/Utility/StructuredData.h"

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 25 of file Statistics.cpp.

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