Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (19 sloc) 0.671 kb
#ifndef NODE_PROFILE_
#define NODE_PROFILE_
#include <v8.h>
#include <v8-profiler.h>
using namespace v8;
namespace nodex {
class Profile {
public:
static Handle<Value> New(const CpuProfile* profile);
private:
static Handle<Value> GetUid(Local<String> property, const AccessorInfo& info);
static Handle<Value> GetTitle(Local<String> property, const AccessorInfo& info);
static Handle<Value> GetTopRoot(Local<String> property, const AccessorInfo& info);
static Handle<Value> GetBottomRoot(Local<String> property, const AccessorInfo& info);
static void Initialize();
static Persistent<ObjectTemplate> profile_template_;
};
}
#endif // NODE_PROFILE_
Jump to Line
Something went wrong with that request. Please try again.