GRPC C++
1.26.0
|
#include <grpc/impl/codegen/port_platform.h>
#include <grpc/grpc.h>
#include <string>
#include "src/core/lib/channel/channel_trace.h"
#include "src/core/lib/gpr/time_precise.h"
#include "src/core/lib/gprpp/atomic.h"
#include "src/core/lib/gprpp/inlined_vector.h"
#include "src/core/lib/gprpp/manual_constructor.h"
#include "src/core/lib/gprpp/map.h"
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/json/json.h"
Go to the source code of this file.
Data Structures | |
class | grpc_core::channelz::BaseNode |
class | grpc_core::channelz::CallCountingHelper |
class | grpc_core::channelz::ChannelNode |
class | grpc_core::channelz::ServerNode |
class | grpc_core::channelz::SocketNode |
class | grpc_core::channelz::ListenSocketNode |
Namespaces | |
grpc_core | |
Internal thread interface. | |
grpc_core::channelz | |
grpc_core::channelz::testing | |
Macros | |
#define | GRPC_ARG_CHANNELZ_CHANNEL_NODE "grpc.channelz_channel_node" |
#define | GRPC_ARG_CHANNELZ_PARENT_UUID "grpc.channelz_parent_uuid" |
#define | GRPC_ENABLE_CHANNELZ_DEFAULT true |
This is the default value for whether or not to enable channelz. More... | |
#define | GRPC_MAX_CHANNEL_TRACE_EVENT_MEMORY_PER_NODE_DEFAULT 1024 * 4 |
This is the default value for the maximum amount of memory used by trace events per channel trace node. More... | |
Functions | |
grpc_arg | grpc_core::channelz::MakeParentUuidArg (intptr_t parent_uuid) |
intptr_t | grpc_core::channelz::GetParentUuidFromArgs (const grpc_channel_args &args) |
AtomicCounterData ()=default | |
AtomicCounterData (const AtomicCounterData &that) | |
Variables | |
Atomic< int64_t > | calls_started {0} |
Atomic< int64_t > | calls_succeeded {0} |
Atomic< int64_t > | calls_failed {0} |
Atomic< gpr_cycle_counter > | last_call_started_cycle {0} |
uint8_t | padding [GPR_CACHELINE_SIZE - 3 *sizeof(Atomic< intptr_t >) - sizeof(Atomic< gpr_cycle_counter >)] |
#define GRPC_ARG_CHANNELZ_CHANNEL_NODE "grpc.channelz_channel_node" |
#define GRPC_ARG_CHANNELZ_PARENT_UUID "grpc.channelz_parent_uuid" |
#define GRPC_ENABLE_CHANNELZ_DEFAULT true |
This is the default value for whether or not to enable channelz.
If GRPC_ARG_ENABLE_CHANNELZ is set, it will override this default value.
#define GRPC_MAX_CHANNEL_TRACE_EVENT_MEMORY_PER_NODE_DEFAULT 1024 * 4 |
This is the default value for the maximum amount of memory used by trace events per channel trace node.
If GRPC_ARG_MAX_CHANNEL_TRACE_EVENT_MEMORY_PER_NODE is set, it will override this default value.
|
default |
GPR_ALIGN_STRUCT::AtomicCounterData | ( | const AtomicCounterData & | that | ) |
Atomic<int64_t> calls_failed {0} |
Atomic<int64_t> calls_started {0} |
Atomic<int64_t> calls_succeeded {0} |
Atomic<gpr_cycle_counter> last_call_started_cycle {0} |
uint8_t padding[GPR_CACHELINE_SIZE - 3 *sizeof(Atomic< intptr_t >) - sizeof(Atomic< gpr_cycle_counter >)] |