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

Function TEST

tensorflow/lite/profiling/profile_buffer_test.cc:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36TEST(ProfileBufferTest, Empty) {
37 ProfileBuffer buffer(/*max_size*/ 0, /*enabled*/ true);
38 EXPECT_EQ(0, buffer.Size());
39}
40
41TEST(ProfileBufferTest, AddEvent) {
42 ProfileBuffer buffer(/*max_size*/ 10, /*enabled*/ true);

Callers

nothing calls this directly

Calls 8

GetProfileEventsFunction · 0.85
c_strMethod · 0.80
AtMethod · 0.80
SetEnabledMethod · 0.80
minFunction · 0.50
SizeMethod · 0.45
BeginEventMethod · 0.45
EndEventMethod · 0.45

Tested by

no test coverage detected