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