Ion
|
#include "ion/analytics/benchmarkutils.h"
#include <algorithm>
#include <iomanip>
#include <set>
#include "ion/base/logging.h"
#include "ion/math/utils.h"
#include "ion/port/override/base/port.h"
Go to the source code of this file.
Namespaces | |
ion | |
Copyright 2016 Google Inc. | |
ion::analytics | |
Functions | |
size_t | ion::analytics::MergeBenchmarks (const Benchmark &from, Benchmark *to) |
Public functions. More... | |
void | ion::analytics::OutputBenchmarkAsCsv (const Benchmark &benchmark, std::ostream &out) |
Outputs benchmark results as CSV (comma-separated values), suitable for use in performance dashboards. More... | |
void | ion::analytics::OutputConstantAsJson (const Benchmark::Constant &c, const std::string &indent, std::ostream &out) |
Outputs a Constant as JSON. See below for the output format. More... | |
void | ion::analytics::OutputAccumulatedVariableAsJson (const Benchmark::AccumulatedVariable &v, const std::string &indent, std::ostream &out) |
Outputs an AccumulatedVariable as JSON. See below for the output format. More... | |
void | ion::analytics::OutputBenchmarkAsJson (const Benchmark &benchmark, const std::string &indent, std::ostream &out) |
Outputs benchmark results as JSON, suitable for serialization and use in performance dashboards. More... | |
void | ion::analytics::OutputBenchmarkPretty (const std::string &id_string, bool print_descriptions, const Benchmark &benchmark, std::ostream &out) |
Outputs benchmark results in pretty format. More... | |
int precision |
Definition at line 65 of file benchmarkutils.cc.
Referenced by ion::gfx::GraphicsManager::ShaderPrecision::IsValid(), and ion::gfx::GraphicsManager::ShaderPrecision::operator==().
const std::string& str |
Definition at line 49 of file benchmarkutils.cc.
Referenced by ion::base::AreMultiLineStringsEqual(), ion::remote::HttpServer::SetFooterHtml(), ion::remote::HttpServer::SetHeaderHtml(), and ion::base::WebSafeBase64Decode().
double value |
Definition at line 63 of file benchmarkutils.cc.
Referenced by ion::analytics::Benchmark::VariableSampler::AddSample(), ion::profile::TraceRecorder::AnnotateCurrentScope(), ion::base::AppendBytes(), ion::base::DateTime::ComputeDurationString(), ion::base::StlAllocator< T >::construct(), ion::gfx::ShaderInputRegistry::Create(), ion::base::DateTime::CreateFromPosixSeconds(), ion::profile::TraceRecorder::CreateTimeStamp(), ion::base::Setting< bool >::FromString(), ion::base::Setting< std::atomic< T > >::FromString(), ion::gfx::AttributeArray::IsBufferAttributeEnabled(), ion::base::Setting< bool >::operator=(), ion::base::Setting< std::atomic< T > >::operator=(), ion::base::Setting< bool >::operator==(), ion::base::Setting< std::atomic< T > >::operator==(), ion::gfx::ResourceHolder::Field< std::string >::Set(), ion::base::Variant< GLint, GLfloat, math::Range1f, math::Range1i, GraphicsManager::ShaderPrecision, std::vector< GLint > >::Set(), ion::gfx::ResourceHolder::VectorField< T >::Set(), ion::base::internal_variant_utils::ManualConstructor< T15 >::SetAt(), ion::gfx::StateTable::SetClearDepthValue(), ion::gfx::StateTable::SetClearStencilValue(), ion::gfx::ShaderProgram::SetConcurrent(), ion::port::SetEnvironmentVariableValue(), ion::math::Range< Dimension, T >::SetMaxComponent(), ion::math::Range< Dimension, T >::SetMinComponent(), ion::gfx::StateTable::SetSampleCoverage(), ion::gfx::UniformHolder::SetUniformByName(), ion::base::Setting< bool >::SetValue(), ion::base::Setting< std::atomic< T > >::SetValue(), ion::base::StringToInt32(), ion::base::StringToStlContainer(), and ion::base::StringToValue().
int width |
Definition at line 50 of file benchmarkutils.cc.
Referenced by ion::text::ComputeTextSize(), ion::image::FlipImageHorizontally(), and ion::gfx::StateTable::SetLineWidth().