#include "components/startup_metric_utils/gpu/startup_metric_utils.h"
#include <type_traits>
#include "base/check.h"
#include "base/command_line.h"
#include "base/location.h"
#include "base/metrics/histogram_functions.h"
#include "base/trace_event/trace_event.h"
#include "components/startup_metric_utils/common/startup_metric_utils.h"
namespace {
void UmaHistogramWithTrace(void (*histogram_function)(const std::string& name,
base::TimeDelta),
const char* histogram_basename,
base::TimeTicks begin_ticks,
base::TimeTicks end_ticks) { … }
}
namespace startup_metric_utils {
GpuStartupMetricRecorder& GetGpu() { … }
void GpuStartupMetricRecorder::RecordGpuInitializationTicks(
base::TimeTicks ticks) { … }
void GpuStartupMetricRecorder::RecordGpuInitialized(base::TimeTicks ticks) { … }
}