I have one more question, please: Once the profiler is done, where are the 
results collected?
How do I get them into an external file for analysis?
 

> On Wednesday, March 18, 2015 at 1:52:42 PM UTC+2, Ben Noordhuis wrote:
>>
>> On Wed, Mar 18, 2015 at 10:09 AM, Danny Dorfman <wilder...@gmail.com> 
>> wrote: 
>> > Hello there, 
>> > 
>> > I need to activate the V8 profiler programmatically, from my C++ 
>> application 
>> > that runs V8. 
>> > I tried reading through this Wiki: 
>> > https://code.google.com/p/v8-wiki/wiki/V8Profiler 
>> > but I'm afraid that it is not up-to-date. I could find no functions 
>> named 
>> > V8::ResumeProfiler() or V8::PauseProfiler(). 
>> > Is there any better source of information, or a working sample? 
>> > 
>> > Regards, 
>> > Danny 
>>
>> In recent versions of V8, the CPU profiler is a property of the 
>> isolate, i.e. isolate->GetCpuProfiler()->StartProfiling(title) and 
>> ditto for the StopProfiling() method.  You need to include 
>> v8-profiler.h to get the definition of the CpuProfiler, CpuProfile and 
>> CpuProfileNode classes. 
>>
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to