Home
last modified time | relevance | path

Searched refs:NoopStats (Results 1 – 6 of 6) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DNoopStatsTest.java57 assertThat(NoopStats.newNoopStatsComponent().getStatsRecorder()) in noopStatsComponent()
58 .isSameAs(NoopStats.getNoopStatsRecorder()); in noopStatsComponent()
59 assertThat(NoopStats.newNoopStatsComponent().getViewManager()) in noopStatsComponent()
60 .isInstanceOf(NoopStats.newNoopViewManager().getClass()); in noopStatsComponent()
65 assertThat(NoopStats.newNoopStatsComponent().getState()) in noopStatsComponent_GetState()
72 StatsComponent noopStatsComponent = NoopStats.newNoopStatsComponent(); in noopStatsComponent_SetState_IgnoresInput()
80 StatsComponent noopStatsComponent = NoopStats.newNoopStatsComponent(); in noopStatsComponent_SetState_DisallowsNull()
88 StatsComponent noopStatsComponent = NoopStats.newNoopStatsComponent(); in noopStatsComponent_DisallowsSetStateAfterGetState()
98 MeasureMap measureMap = NoopStats.getNoopStatsRecorder().newMeasureMap(); in noopStatsRecorder_PutAttachmentNullKey()
106 MeasureMap measureMap = NoopStats.getNoopStatsRecorder().newMeasureMap(); in noopStatsRecorder_PutAttachmentNullValue()
[all …]
DNoopViewManagerTest.java62 ViewManager viewManager = NoopStats.newNoopViewManager(); in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName()
79 ViewManager viewManager = NoopStats.newNoopViewManager(); in noopViewManager_RegisterView_AllowRegisteringSameViewTwice()
86 ViewManager viewManager = NoopStats.newNoopViewManager(); in noopViewManager_RegisterView_DisallowNull()
93 ViewManager viewManager = NoopStats.newNoopViewManager(); in noopViewManager_GetView_GettingNonExistentViewReturnsNull()
102 ViewManager viewManager = NoopStats.newNoopViewManager(); in noopViewManager_GetView_Cumulative()
119 ViewManager viewManager = NoopStats.newNoopViewManager(); in noopViewManager_GetView_Interval()
130 ViewManager viewManager = NoopStats.newNoopViewManager(); in noopViewManager_GetView_DisallowNull()
137 ViewManager viewManager = NoopStats.newNoopViewManager(); in getAllExportedViews()
173 ViewManager viewManager = NoopStats.newNoopViewManager(); in getAllExportedViews_ResultIsUnmodifiable()
DStatsTest.java62 assertThat(Stats.getStatsRecorder()).isEqualTo(NoopStats.getNoopStatsRecorder()); in defaultValues()
63 assertThat(Stats.getViewManager()).isInstanceOf(NoopStats.newNoopViewManager().getClass()); in defaultValues()
/external/tensorflow/tensorflow/compiler/xla/service/
Dcompilation_stats.cc30 class NoopStats : public CompilationStats { class
32 NoopStats() = default;
72 return absl::make_unique<NoopStats>(); in MakeNoopStats()
/external/opencensus-java/api/src/main/java/io/opencensus/stats/
DNoopStats.java42 final class NoopStats { class
44 private NoopStats() {} in NoopStats() method in NoopStats
DStats.java122 return NoopStats.newNoopStatsComponent(); in loadStatsComponent()