Home | History | Annotate | Download | only in base

Lines Matching refs:Instance

32   ASSERT_TRUE(Profiler::Instance()->Clear());
36 const ProfilerEvent* event = Profiler::Instance()->GetEvent(function_name);
58 ASSERT_TRUE(Profiler::Instance()->Clear());
61 event1 = Profiler::Instance()->GetEvent(kEvent1Name);
74 event2 = Profiler::Instance()->GetEvent(kEvent2Name);
104 ASSERT_TRUE(Profiler::Instance()->Clear());
106 EXPECT_FALSE(Profiler::Instance()->Clear());
107 EXPECT_TRUE(Profiler::Instance()->GetEvent("event") != NULL);
109 EXPECT_TRUE(Profiler::Instance()->Clear());
110 EXPECT_EQ(NULL, Profiler::Instance()->GetEvent("event"));