blob: 953fd2c0ae29c21d588e596da337199f30ff4946 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (c) 2012 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.
#ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_METRIC_INFO_H_
#define CHROME_BROWSER_PERFORMANCE_MONITOR_METRIC_INFO_H_
#pragma once
#include <string>
#include "base/time.h"
namespace performance_monitor {
struct MetricInfo {
MetricInfo();
MetricInfo(const base::Time& metric_time, double metric_value);
MetricInfo(const std::string& metric_time, const std::string& metric_value);
~MetricInfo();
base::Time time;
double value;
};
} // namespace performance_monitor
#endif // CHROME_BROWSER_PERFORMANCE_MONITOR_METRIC_INFO_H_
|