#ifndef NODE_CPU_PROFILER_
#define NODE_CPU_PROFILER_

#include "v8-profiler.h"
#include "node.h"
#include "nan.h"

namespace nodex {
  class CpuProfiler {
    public:
      static void Initialize(v8::Local<v8::Object> target);

      CpuProfiler();
      virtual ~CpuProfiler();

    protected:
      static NAN_METHOD(StartProfiling);
      static NAN_METHOD(StopProfiling);
      static NAN_METHOD(SetSamplingInterval);
  };
} //namespace nodex

#endif  // NODE_CPU_PROFILER_H
