summaryrefslogtreecommitdiffstats
path: root/media/base/scoped_histogram_timer_unittest.cc
blob: 191a577dfac2849e930599e667cec7510e6cae94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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 "base/time.h"
#include "media/base/scoped_histogram_timer.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media {

TEST(ScopedHistogramTimer, TwoTimersOneScope) {
  SCOPED_UMA_HISTOGRAM_TIMER("TestTimer0");
  SCOPED_UMA_HISTOGRAM_TIMER("TestTimer1");
}

}  // namespace media