Searched refs:serverStats (Results 1 – 3 of 3) sorted by relevance
35 ServerStats serverStats = null; in serverStatsCreate() local37 serverStats = ServerStats.create(31, 22, (byte) 0); in serverStatsCreate()38 assertThat(serverStats.getLbLatencyNs()).isEqualTo(31); in serverStatsCreate()39 assertThat(serverStats.getServiceLatencyNs()).isEqualTo(22); in serverStatsCreate()40 assertThat(serverStats.getTraceOption()).isEqualTo((byte) 0); in serverStatsCreate()42 serverStats = ServerStats.create(1000011L, 900022L, (byte) 1); in serverStatsCreate()43 assertThat(serverStats.getLbLatencyNs()).isEqualTo(1000011L); in serverStatsCreate()44 assertThat(serverStats.getServiceLatencyNs()).isEqualTo(900022L); in serverStatsCreate()45 assertThat(serverStats.getTraceOption()).isEqualTo((byte) 1); in serverStatsCreate()47 serverStats = ServerStats.create(0, 22, (byte) 0); in serverStatsCreate()[all …]
122 ServerStats serverStats = new ServerStats( field in ChannelzTestHelper.TestServer132 ret.set(serverStats); in getStats()
540 server.serverStats = toBuilder(server.serverStats) in toServer()553 server.serverStats = toBuilder(server.serverStats) in toServer()568 assertEquals(serverData, ChannelzProtoUtil.toServerData(server.serverStats)); in toServerData()