Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: include/core/SkHistogramLogging.h

Issue 1652053004: Add Histogram Macros to Skia (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright 2016 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef SkHistogramLogging_DEFINED
9 #define SkHistogramLogging_DEFINED
10
11 #ifdef SK_HISTOGRAM_LOGGING_CUSTOM_SETUP_HEADER
12 // This header file, if present, should define alternative implementations of
13 // the macros defined in the #else block.
14 #include SK_HISTOGRAM_LOGGING_CUSTOM_SETUP_HEADER
15 #else
16 // Macro used to track a boolean event. Value must be either true or false.
17 #define SK_HISTOGRAM_BOOLEAN(name, value)
18
19 // Macro used to track the frequency of certain values of an enumeration. All
20 // values must be less than |boundary_value| and |boundary_value| must not
21 // change over multiple calls.
22 #define SK_HISTOGRAM_ENUMERATION(name, value, boundary_value)
23 #endif
24
25 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698