OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "src/profiler/tracing-cpu-profiler.h" |
| 6 |
| 7 #include "src/v8.h" |
| 8 |
| 9 namespace v8 { |
| 10 |
| 11 std::unique_ptr<TracingCpuProfiler> TracingCpuProfiler::Create( |
| 12 v8::Isolate* isolate) { |
| 13 return std::unique_ptr<TracingCpuProfiler>( |
| 14 new internal::TracingCpuProfilerImpl( |
| 15 reinterpret_cast<internal::Isolate*>(isolate))); |
| 16 } |
| 17 |
| 18 namespace internal { |
| 19 |
| 20 TracingCpuProfilerImpl::TracingCpuProfilerImpl(Isolate* isolate) {} |
| 21 |
| 22 TracingCpuProfilerImpl::~TracingCpuProfilerImpl() {} |
| 23 |
| 24 } // namespace internal |
| 25 } // namespace v8 |
OLD | NEW |