chromium/third_party/angle/src/tests/perf_tests/third_party/perf/perf_test.cc

// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "perf_test.h"

#include "common/base/anglebase/no_destructor.h"

#include <stdarg.h>
#include <stdio.h>
#include <vector>

namespace
{

std::string FormatString(const char *fmt, va_list vararg)
{}

std::string StringPrintf(const char *fmt, ...)
{}

std::string NumberToString(size_t value)
{}

std::string NumberToString(double value)
{}

std::string ResultsToString(const std::string &measurement,
                            const std::string &modifier,
                            const std::string &trace,
                            const std::string &values,
                            const std::string &prefix,
                            const std::string &suffix,
                            const std::string &units,
                            bool important)
{}

void PrintResultsImpl(const std::string &measurement,
                      const std::string &modifier,
                      const std::string &trace,
                      const std::string &values,
                      const std::string &prefix,
                      const std::string &suffix,
                      const std::string &units,
                      bool important)
{}

}  // namespace

namespace perf_test
{

void PrintResult(const std::string &measurement,
                 const std::string &modifier,
                 const std::string &trace,
                 size_t value,
                 const std::string &units,
                 bool important)
{}

void PrintResult(const std::string &measurement,
                 const std::string &modifier,
                 const std::string &trace,
                 double value,
                 const std::string &units,
                 bool important)
{}

void AppendResult(std::string &output,
                  const std::string &measurement,
                  const std::string &modifier,
                  const std::string &trace,
                  size_t value,
                  const std::string &units,
                  bool important)
{}

void PrintResult(const std::string &measurement,
                 const std::string &modifier,
                 const std::string &trace,
                 const std::string &value,
                 const std::string &units,
                 bool important)
{}

void AppendResult(std::string &output,
                  const std::string &measurement,
                  const std::string &modifier,
                  const std::string &trace,
                  const std::string &value,
                  const std::string &units,
                  bool important)
{}

void PrintResultMeanAndError(const std::string &measurement,
                             const std::string &modifier,
                             const std::string &trace,
                             const std::string &mean_and_error,
                             const std::string &units,
                             bool important)
{}

void AppendResultMeanAndError(std::string &output,
                              const std::string &measurement,
                              const std::string &modifier,
                              const std::string &trace,
                              const std::string &mean_and_error,
                              const std::string &units,
                              bool important)
{}

void PrintResultList(const std::string &measurement,
                     const std::string &modifier,
                     const std::string &trace,
                     const std::string &values,
                     const std::string &units,
                     bool important)
{}

void AppendResultList(std::string &output,
                      const std::string &measurement,
                      const std::string &modifier,
                      const std::string &trace,
                      const std::string &values,
                      const std::string &units,
                      bool important)
{}

void PrintSystemCommitCharge(const std::string &test_name, size_t charge, bool important)
{}

void PrintSystemCommitCharge(FILE *target,
                             const std::string &test_name,
                             size_t charge,
                             bool important)
{}

std::string SystemCommitChargeToString(const std::string &test_name, size_t charge, bool important)
{}

}  // namespace perf_test