chromium/v8/src/profiler/tracing-cpu-profiler.cc

// Copyright 2016 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.

#include "src/profiler/tracing-cpu-profiler.h"

#include "src/execution/isolate.h"
#include "src/init/v8.h"
#include "src/profiler/cpu-profiler.h"
#include "src/tracing/trace-event.h"

namespace v8 {
namespace internal {

TracingCpuProfilerImpl::TracingCpuProfilerImpl(Isolate* isolate)
    :{}

TracingCpuProfilerImpl::~TracingCpuProfilerImpl() {}

#if defined(V8_USE_PERFETTO)
void TracingCpuProfilerImpl::OnStart(
    const perfetto::DataSourceBase::StartArgs&) {}

namespace {
class RunInterruptsTask : public v8::Task {};
}  // namespace

#if defined(V8_USE_PERFETTO)
void TracingCpuProfilerImpl::OnStop(const perfetto::DataSourceBase::StopArgs&) {}

void TracingCpuProfilerImpl::StartProfiling() {}

void TracingCpuProfilerImpl::StopProfiling() {}

}  // namespace internal
}  // namespace v8