OLD | NEW |
(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 |
OLD | NEW |