...
1syntax = "proto3";
2
3package envoy.admin.v2alpha;
4
5import "udpa/annotations/status.proto";
6
7option java_package = "io.envoyproxy.envoy.admin.v2alpha";
8option java_outer_classname = "MutexStatsProto";
9option java_multiple_files = true;
10option (udpa.annotations.file_status).package_version_status = FROZEN;
11
12// [#protodoc-title: MutexStats]
13
14// Proto representation of the statistics collected upon absl::Mutex contention, if Envoy is run
15// under :option:`--enable-mutex-tracing`. For more information, see the `absl::Mutex`
16// [docs](https://abseil.io/about/design/mutex#extra-features).
17//
18// *NB*: The wait cycles below are measured by `absl::base_internal::CycleClock`, and may not
19// correspond to core clock frequency. For more information, see the `CycleClock`
20// [docs](https://github.com/abseil/abseil-cpp/blob/master/absl/base/internal/cycleclock.h).
21message MutexStats {
22 // The number of individual mutex contentions which have occurred since startup.
23 uint64 num_contentions = 1;
24
25 // The length of the current contention wait cycle.
26 uint64 current_wait_cycles = 2;
27
28 // The lifetime total of all contention wait cycles.
29 uint64 lifetime_wait_cycles = 3;
30}
View as plain text