llvm/lldb/source/Target/Statistics.cpp

//===-- Statistics.cpp ----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#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"

usingnamespacelldb;
usingnamespacelldb_private;
usingnamespacellvm;

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

json::Value StatsSuccessFail::ToJSON() const {}

static double elapsed(const StatsTimepoint &start, const StatsTimepoint &end) {}

void TargetStats::CollectStats(Target &target) {}

json::Value ModuleStats::ToJSON() const {}

llvm::json::Value ConstStringStats::ToJSON() const {}

json::Value
TargetStats::ToJSON(Target &target,
                    const lldb_private::StatisticsOptions &options) {}

void TargetStats::SetLaunchOrAttachTime() {}

void TargetStats::SetFirstPrivateStopTime() {}

void TargetStats::SetFirstPublicStopTime() {}

void TargetStats::IncreaseSourceMapDeduceCount() {}

void TargetStats::IncreaseSourceRealpathAttemptCount(uint32_t count) {}

void TargetStats::IncreaseSourceRealpathCompatibleCount(uint32_t count) {}

bool DebuggerStats::g_collecting_stats =;

llvm::json::Value DebuggerStats::ReportStatistics(
    Debugger &debugger, Target *target,
    const lldb_private::StatisticsOptions &options) {}

llvm::json::Value SummaryStatistics::ToJSON() const {}

json::Value SummaryStatisticsCache::ToJSON() {}