Craig Tiller | 2808668 | 2017-07-18 14:22:19 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2017 gRPC authors. |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | /* |
| 18 | * Automatically generated by tools/codegen/core/gen_stats_data.py |
| 19 | */ |
| 20 | |
| 21 | #ifndef GRPC_CORE_LIB_DEBUG_STATS_DATA_H |
| 22 | #define GRPC_CORE_LIB_DEBUG_STATS_DATA_H |
| 23 | |
| 24 | typedef enum { |
| 25 | GRPC_STATS_COUNTER_CLIENT_CALLS_CREATED, |
| 26 | GRPC_STATS_COUNTER_SERVER_CALLS_CREATED, |
| 27 | GRPC_STATS_COUNTER_COUNT |
| 28 | } grpc_stats_counters; |
| 29 | #define GRPC_STATS_INC_CLIENT_CALLS_CREATED(exec_ctx) GRPC_STATS_INC_COUNTER((exec_ctx), GRPC_STATS_COUNTER_CLIENT_CALLS_CREATED) |
| 30 | #define GRPC_STATS_INC_SERVER_CALLS_CREATED(exec_ctx) GRPC_STATS_INC_COUNTER((exec_ctx), GRPC_STATS_COUNTER_SERVER_CALLS_CREATED) |
| 31 | extern const char *grpc_stats_counter_name[GRPC_STATS_COUNTER_COUNT]; |
| 32 | |
| 33 | #endif /* GRPC_CORE_LIB_DEBUG_STATS_DATA_H */ |