Home
last modified time | relevance | path

Searched refs:ServerStats (Results 1 – 25 of 35) sorted by relevance

12

/external/opencensus-java/api/src/test/java/io/opencensus/common/
DServerStatsEncodingTest.java37 ServerStats serverStatsToBeEncoded = null; in encodeDecodeTest()
38 ServerStats serverStatsDecoded = null; in encodeDecodeTest()
41 serverStatsToBeEncoded = ServerStats.create(31, 22, (byte) 1); in encodeDecodeTest()
46 serverStatsToBeEncoded = ServerStats.create(0, 22, (byte) 0); in encodeDecodeTest()
51 serverStatsToBeEncoded = ServerStats.create(450, 0, (byte) 0); in encodeDecodeTest()
59 ServerStats serverStatsToBeEncoded = null; in skipUnknownFieldTest()
60 ServerStats serverStatsDecoded = null; in skipUnknownFieldTest()
63 serverStatsToBeEncoded = ServerStats.create(31, 22, (byte) 1); in skipUnknownFieldTest()
82 ServerStats serverStatsToBeEncoded = null; in negativeLbLatencyValueTest()
83 ServerStats serverStatsDecoded = null; in negativeLbLatencyValueTest()
[all …]
DServerStatsTest.java35 ServerStats serverStats = null; in serverStatsCreate()
37 serverStats = ServerStats.create(31, 22, (byte) 0); in serverStatsCreate()
42 serverStats = ServerStats.create(1000011L, 900022L, (byte) 1); in serverStatsCreate()
47 serverStats = ServerStats.create(0, 22, (byte) 0); in serverStatsCreate()
52 serverStats = ServerStats.create(1010, 0, (byte) 0); in serverStatsCreate()
62 ServerStats.create(-1L, 100, (byte) 0); in create_LbLatencyNegative()
69 ServerStats.create(100L, -1L, (byte) 0); in create_ServerLatencyNegative()
76 ServerStats.create(-100L, -1L, (byte) 0); in create_LbLatencyAndServerLatencyNegative()
/external/cronet/net/dns/
Dresolve_context.h201 struct ServerStats { struct
202 explicit ServerStats(std::unique_ptr<base::SampleVector> rtt_histogram);
204 ServerStats(ServerStats&&);
206 ~ServerStats();
233 ServerStats* GetServerStats(size_t server_index, bool is_doh_server);
236 base::TimeDelta NextFallbackPeriodHelper(const ServerStats* server_stats,
263 static bool ServerStatsToDohAvailability(const ServerStats& stats);
293 std::vector<ServerStats> classic_server_stats_;
295 std::vector<ServerStats> doh_server_stats_;
Dresolve_context.cc121 ResolveContext::ServerStats::ServerStats( in ServerStats() function in net::ResolveContext::ServerStats
125 ResolveContext::ServerStats::ServerStats(ServerStats&&) = default;
127 ResolveContext::ServerStats::~ServerStats() = default;
204 ServerStats* stats = GetServerStats(server_index, is_doh_server); in RecordServerFailure()
227 ServerStats* stats = GetServerStats(server_index, is_doh_server); in RecordServerSuccess()
248 ServerStats* stats = GetServerStats(server_index, is_doh_server); in RecordRtt()
421 ResolveContext::ServerStats* ResolveContext::GetServerStats( in GetServerStats()
434 const ServerStats* server_stats, in NextFallbackPeriodHelper()
588 const ResolveContext::ServerStats& stats) { in ServerStatsToDohAvailability()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DInternalChannelzTest.java35 import io.grpc.InternalChannelz.ServerStats;
130 InternalInstrumented<ServerStats> server1 = create(); in getServers_onePage()
139 InternalInstrumented<ServerStats> server1 = create(); in getServers_onePage_multi()
140 InternalInstrumented<ServerStats> server2 = create(); in getServers_onePage_multi()
150 InternalInstrumented<ServerStats> server1 = create(); in getServers_paginate()
151 InternalInstrumented<ServerStats> server2 = create(); in getServers_paginate()
165 InternalInstrumented<ServerStats> server1 = create(); in getServers_remove()
175 InternalInstrumented<ServerStats> server1 = create(); in getServers_addAfterLastPage()
183 InternalInstrumented<ServerStats> server2 = create(); in getServers_addAfterLastPage()
238 InternalInstrumented<ServerStats> server = create(); in serverSocket()
[all …]
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzTestHelper.java26 import io.grpc.InternalChannelz.ServerStats;
120 static final class TestServer implements InternalInstrumented<ServerStats> {
122 ServerStats serverStats = new ServerStats(
130 public ListenableFuture<ServerStats> getStats() { in getStats()
131 SettableFuture<ServerStats> ret = SettableFuture.create(); in getStats()
DChannelzProtoUtilTest.java42 import io.grpc.InternalChannelz.ServerStats;
711 new ServerList(Collections.<InternalInstrumented<ServerStats>>emptyList(), false))); in toGetServersResponse()
720 new ServerList(ImmutableList.<InternalInstrumented<ServerStats>>of(server), false))); in toGetServersResponse()
730 new ServerList(ImmutableList.<InternalInstrumented<ServerStats>>of(server), true))); in toGetServersResponse()
743 ImmutableList.<InternalInstrumented<ServerStats>>of(server, server2), true))); in toGetServersResponse()
941 private static ServerStats.Builder toBuilder(ServerStats stats) { in toBuilder()
942 return new ServerStats.Builder() in toBuilder()
/external/grpc-grpc-java/core/src/jmh/java/io/grpc/internal/
DChannelzBenchmark.java21 import io.grpc.InternalChannelz.ServerStats;
46 public InternalInstrumented<ServerStats> serverToRemove;
48 public InternalInstrumented<ServerStats> serverToAdd;
50 public InternalInstrumented<ServerStats> serverForServerSocket;
79 InternalInstrumented<ServerStats> srv = create(); in populate()
/external/opencensus-java/api/src/main/java/io/opencensus/common/
DServerStats.java29 public abstract class ServerStats { class
31 ServerStats() {} in ServerStats() method in ServerStats
73 public static ServerStats create(long lbLatencyNs, long serviceLatencyNs, byte traceOption) { in create()
DServerStatsEncoding.java53 public static byte[] toBytes(ServerStats stats) { in toBytes()
81 public static ServerStats parseBytes(byte[] serialized) in parseBytes()
119 return ServerStats.create(lbLatencyNs, serviceLatencyNs, traceOption); in parseBytes()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalChannelz.java52 private final ConcurrentNavigableMap<Long, InternalInstrumented<ServerStats>> servers
53 = new ConcurrentSkipListMap<Long, InternalInstrumented<ServerStats>>();
79 public void addServer(InternalInstrumented<ServerStats> server) { in addServer()
106 InternalInstrumented<ServerStats> server, InternalInstrumented<SocketStats> socket) { in addServerSocket()
113 public void removeServer(InternalInstrumented<ServerStats> server) { in removeServer()
138 InternalInstrumented<ServerStats> server, InternalInstrumented<SocketStats> socket) { in removeServerSocket()
171 List<InternalInstrumented<ServerStats>> serverList in getServers()
172 = new ArrayList<InternalInstrumented<ServerStats>>(maxPageSize); in getServers()
173 Iterator<InternalInstrumented<ServerStats>> iterator in getServers()
264 public final List<InternalInstrumented<ServerStats>> servers;
[all …]
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DStats.cs47 …br::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.ServerStats), global::Grpc.Testing.ServerStat… in StatsReflection()
58 public sealed partial class ServerStats : pb::IMessage<ServerStats> { class
59 …te static readonly pb::MessageParser<ServerStats> _parser = new pb::MessageParser<ServerStats>(() …
62 public static pb::MessageParser<ServerStats> Parser { get { return _parser; } }
75 public ServerStats() { in ServerStats() method in Grpc.Testing.ServerStats
82 public ServerStats(ServerStats other) : this() { in ServerStats() method in Grpc.Testing.ServerStats
94 public ServerStats Clone() { in Clone()
95 return new ServerStats(this); in Clone()
199 return Equals(other as ServerStats); in Equals()
203 public bool Equals(ServerStats other) { in Equals()
[all …]
DServerRunners.cs139 public ServerStats GetStats(bool reset) in GetStats()
146 return new ServerStats in GetStats()
DIServerRunner.cs48 ServerStats GetStats(bool reset); in GetStats()
/external/grpc-grpc-java/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/
DStats.java79 public static final class ServerStats extends class in Stats
85 private ServerStats(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in ServerStats() method in Stats.ServerStats
88 private ServerStats() { in ServerStats() method in Stats.ServerStats
102 private ServerStats( in ServerStats() method in Stats.ServerStats
179 …io.grpc.benchmarks.proto.Stats.ServerStats.class, io.grpc.benchmarks.proto.Stats.ServerStats.Build… in internalGetFieldAccessorTable()
333 if (!(obj instanceof io.grpc.benchmarks.proto.Stats.ServerStats)) { in equals()
336 …io.grpc.benchmarks.proto.Stats.ServerStats other = (io.grpc.benchmarks.proto.Stats.ServerStats) ob… in equals()
391 public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom( in parseFrom()
396 public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom( in parseFrom()
402 public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom( in parseFrom()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DCallTracer.java22 import io.grpc.InternalChannelz.ServerStats;
59 void updateBuilder(ServerStats.Builder builder) { in updateBuilder()
DServerImpl.java40 import io.grpc.InternalChannelz.ServerStats;
81 public final class ServerImpl extends io.grpc.Server implements InternalInstrumented<ServerStats> {
578 public ListenableFuture<ServerStats> getStats() { in getStats()
579 ServerStats.Builder builder in getStats()
580 = new ServerStats.Builder() in getStats()
583 SettableFuture<ServerStats> ret = SettableFuture.create(); in getStats()
/external/grpc-grpc/test/cpp/qps/
Ddriver.cc103 static double SvrPollCount(const ServerStats& s) { return s.cq_poll_count(); } in SvrPollCount()
104 static double ServerWallTime(const ServerStats& s) { return s.time_elapsed(); } in ServerWallTime()
105 static double ServerSystemTime(const ServerStats& s) { return s.time_system(); } in ServerSystemTime()
106 static double ServerUserTime(const ServerStats& s) { return s.time_user(); } in ServerUserTime()
107 static double ServerTotalCpuTime(const ServerStats& s) { in ServerTotalCpuTime()
110 static double ServerIdleCpuTime(const ServerStats& s) { in ServerIdleCpuTime()
Dserver.h53 ServerStats Mark(bool reset) { in Mark()
69 ServerStats stats; in Mark()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/driver/
DLoadServer.java177 Stats.ServerStats getStats() { in getStats()
178 Stats.ServerStats.Builder builder = Stats.ServerStats.newBuilder(); in getStats()
/external/grpc-grpc/src/proto/grpc/testing/
Dstats.proto21 message ServerStats { message
70 // See ServerStats for details.
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/testing/
Dstats.proto21 message ServerStats { message
70 // See ServerStats for details.
/external/grpc-grpc-java/benchmarks/src/main/proto/grpc/testing/
Dstats.proto21 message ServerStats { message
67 // See ServerStats for details.
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzProtoUtil.java33 import io.grpc.InternalChannelz.ServerStats;
123 static Server toServer(InternalInstrumented<ServerStats> obj) { in toServer()
124 ServerStats stats = getFuture(obj.getStats()); in toServer()
135 static ServerData toServerData(ServerStats stats) { in toServerData()
440 for (InternalInstrumented<ServerStats> s : servers.servers) { in toGetServersResponse()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DServerCallImplTest.java37 import io.grpc.InternalChannelz.ServerStats;
38 import io.grpc.InternalChannelz.ServerStats.Builder;
111 ServerStats before = beforeBuilder.build(); in callTracer0()
127 ServerStats after = afterBuilder.build(); in callTracer0()

12