Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 271 Bytes
#include "heap_profiler.h"
#include "cpu_profiler.h"
namespace nodex {
void InitializeProfiler(Handle<Object> target) {
HandleScope scope;
HeapProfiler::Initialize(target);
CpuProfiler::Initialize(target);
}
NODE_MODULE(profiler, InitializeProfiler)
}