llvm/third-party/benchmark/src/json_reporter.cc

// Copyright 2015 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include <algorithm>
#include <cmath>
#include <cstdint>
#include <iomanip>  // for setprecision
#include <iostream>
#include <limits>
#include <string>
#include <tuple>
#include <vector>

#include "benchmark/benchmark.h"
#include "complexity.h"
#include "string_util.h"
#include "timers.h"

namespace benchmark {
namespace {

std::string StrEscape(const std::string& s) {}

std::string FormatKV(std::string const& key, std::string const& value) {}

std::string FormatKV(std::string const& key, const char* value) {}

std::string FormatKV(std::string const& key, bool value) {}

std::string FormatKV(std::string const& key, int64_t value) {}

std::string FormatKV(std::string const& key, double value) {}

int64_t RoundDouble(double v) {}

}  // end namespace

bool JSONReporter::ReportContext(const Context& context) {}

void JSONReporter::ReportRuns(std::vector<Run> const& reports) {}

void JSONReporter::Finalize() {}

void JSONReporter::PrintRunData(Run const& run) {}

const int64_t MemoryManager::TombstoneValue =;

}  // end namespace benchmark