Home | History | Annotate | Download | only in cctest

Lines Matching refs:sampler

253 class TestSampler : public v8::internal::Sampler {
256 : Sampler(isolate, 0, true, true),
284 TestSampler* sampler = NULL;
287 sampler = new TestSampler(v8::internal::Isolate::Current());
288 sampler->Start();
289 CHECK(sampler->IsActive());
297 CHECK(!sampler->WasSampleStackCalled());
300 CHECK(sampler->WaitForTick());
301 CHECK(sampler->WasSampleStackCalled());
302 sampler->Reset();
303 CHECK(!sampler->WasSampleStackCalled());
306 CHECK(!sampler->WaitForTick());
307 CHECK(!sampler->WasSampleStackCalled());
308 sampler->Stop();
315 delete sampler;