summaryrefslogtreecommitdiffstats
path: root/cc/debug/benchmark_instrumentation.h
blob: 2614814914c25363f4d02d01cf92a759db7b49da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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.

#ifndef CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_
#define CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_

#include "cc/debug/rendering_stats.h"

namespace cc {

class CC_EXPORT BenchmarkInstrumentation {
 public:
  static void IssueMainThreadRenderingStatsEvent(
      const MainThreadRenderingStats& stats);
  static void IssueImplThreadRenderingStatsEvent(
      const ImplThreadRenderingStats& stats);
};

}  // namespace cc

#endif  // CC_DEBUG_BENCHMARK_INSTRUMENTATION_H_