MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TEST_F

Function TEST_F

tensorflow/core/platform/device_tracer_test.cc:110–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108};
109
110TEST_F(DeviceTracerTest, StartStop) {
111 auto tracer = CreateDeviceTracer();
112 if (!tracer) return;
113 TF_EXPECT_OK(tracer->Start());
114 TF_EXPECT_OK(tracer->Stop());
115}
116
117TEST_F(DeviceTracerTest, StopBeforeStart) {
118 auto tracer = CreateDeviceTracer();

Callers

nothing calls this directly

Calls 12

ExpectFailureFunction · 0.85
CreateDeviceTracerFunction · 0.70
CreateSessionFunction · 0.70
InitializeFunction · 0.50
StartMethod · 0.45
StopMethod · 0.45
CollectDataMethod · 0.45
CreateMethod · 0.45
RunMethod · 0.45
sizeMethod · 0.45
IsInitializedMethod · 0.45
DebugStringMethod · 0.45

Tested by

no test coverage detected