blob: ba78c923c4c65d297da023663008de2005611a82 [file] [log] [blame]
// Copyright 2013 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 "include/v8-profiler.h"
#include "src/base/platform/time.h"
#include "src/common/globals.h"
namespace v8 {
namespace internal {
class Isolate;
struct TickSample : public v8::TickSample {
void Init(Isolate* isolate, const v8::RegisterState& state,
RecordCEntryFrame record_c_entry_frame, bool update_stats,
bool use_simulator_reg_state = true,
base::TimeDelta sampling_interval = base::TimeDelta());
base::TimeTicks timestamp;
base::TimeDelta sampling_interval; // Sampling interval used to capture.
void print() const;
} // namespace internal
} // namespace v8