Sha256: dc42ce3437cabd64f222e8c5eea0bd9fe73ea98ccf6e1ee18a0b6e2a5d2cd414

Contents?: true

Size: 799 Bytes

Versions: 10

Compression:

Stored size: 799 Bytes

Contents

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

#ifndef V8_EXTENSIONS_STATISTICS_EXTENSION_H_
#define V8_EXTENSIONS_STATISTICS_EXTENSION_H_

#include "include/v8.h"

namespace v8 {
namespace internal {

class StatisticsExtension : public v8::Extension {
 public:
  StatisticsExtension() : v8::Extension("v8/statistics", kSource) {}
  virtual v8::Local<v8::FunctionTemplate> GetNativeFunctionTemplate(
      v8::Isolate* isolate, v8::Local<v8::String> name);
  static void GetCounters(const v8::FunctionCallbackInfo<v8::Value>& args);

 private:
  static const char* const kSource;
};

}  // namespace internal
}  // namespace v8

#endif  // V8_EXTENSIONS_STATISTICS_EXTENSION_H_

Version data entries

10 entries across 9 versions & 2 rubygems

Version Path
libv8-6.0.286.54.1 vendor/v8/src/extensions/statistics-extension.h
libv8-6.0.286.54.0 vendor/v8/src/extensions/statistics-extension.h
libv8-6.0.286.54.0beta2 vendor/v8/src/extensions/statistics-extension.h
libv8-6.0.286.54.0beta1 vendor/v8/src/extensions/statistics-extension.h
libv8-6.0.286.44.0beta1 vendor/v8/src/extensions/statistics-extension.h
node-compiler-0.9.1 vendor/node/deps/v8/src/extensions/statistics-extension.h
node-compiler-0.9.0 vendor/node-v7.2.1/deps/v8/src/extensions/statistics-extension.h
node-compiler-0.8.0 vendor/node-v7.2.0/deps/v8/src/extensions/statistics-extension.h
node-compiler-0.7.0 vendor/node-v7.1.0/deps/v8/src/extensions/statistics-extension.h
node-compiler-0.7.0 vendor/node-v6.9.1/deps/v8/src/extensions/statistics-extension.h