Home | History | Annotate | Download | only in cctest

Lines Matching refs:Sampler

213 class TestSampler : public v8::internal::Sampler {
216 : Sampler(isolate, 0, true, true),
244 TestSampler* sampler = NULL;
247 sampler = new TestSampler(CcTest::i_isolate());
248 sampler->Start();
249 CHECK(sampler->IsActive());
257 CHECK(!sampler->WasSampleStackCalled());
260 CHECK(sampler->WaitForTick());
261 CHECK(sampler->WasSampleStackCalled());
262 sampler->Reset();
263 CHECK(!sampler->WasSampleStackCalled());
266 CHECK(!sampler->WaitForTick());
267 CHECK(!sampler->WasSampleStackCalled());
268 sampler->Stop();
275 delete sampler;