Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (20 sloc) 0.725 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 Handle<Value> Delete(const Arguments& args);
static void Initialize();
static Persistent<ObjectTemplate> profile_template_;
};
}
#endif // NODE_PROFILE_
Jump to Line
Something went wrong with that request. Please try again.