// Copyright 2022 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Tests of the circular queue. #include "src/init/v8.h" #include "src/profiler/circular-queue-inl.h" #include "test/unittests/test-utils.h" #include "testing/gtest/include/gtest/gtest.h" SamplingCircularQueue; CircularQueueTest; TEST_F(CircularQueueTest, SamplingCircularQueue) { … } namespace { Record; TestSampleQueue; class ProducerThread : public v8::base::Thread { … }; } // namespace TEST_F(CircularQueueTest, SamplingCircularQueueMultithreading) { … }