v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ProfileGenerator Class Reference

#include <profile-generator.h>

Public Member Functions

 ProfileGenerator (CpuProfilesCollection *profiles)
 
 INLINE (CodeEntry *NewCodeEntry(Logger::LogEventsAndTags tag, String *name, String *resource_name, int line_number))
 
 INLINE (CodeEntry *NewCodeEntry(Logger::LogEventsAndTags tag, const char *name))
 
 INLINE (CodeEntry *NewCodeEntry(Logger::LogEventsAndTags tag, const char *name_prefix, String *name))
 
 INLINE (CodeEntry *NewCodeEntry(Logger::LogEventsAndTags tag, int args_count))
 
 INLINE (CodeEntry *NewCodeEntry(int security_token_id))
 
void RecordTickSample (const TickSample &sample)
 
 INLINE (CodeMap *code_map())
 
 INLINE (void Tick())
 
 INLINE (double actual_sampling_rate())
 

Static Public Attributes

static const char *const kAnonymousFunctionName
 
static const char *const kProgramEntryName
 
static const char *const kGarbageCollectorEntryName
 

Detailed Description

Definition at line 392 of file profile-generator.h.

Constructor & Destructor Documentation

ProfileGenerator ( CpuProfilesCollection profiles)
explicit

Definition at line 881 of file profile-generator.cc.

Member Function Documentation

INLINE ( CodeEntry NewCodeEntryLogger::LogEventsAndTags tag,String *name,String *resource_name,int line_number)
inline

Definition at line 396 of file profile-generator.h.

References CpuProfilesCollection::NewCodeEntry().

INLINE ( CodeEntry NewCodeEntryLogger::LogEventsAndTags tag,const char *name)
inline

Definition at line 403 of file profile-generator.h.

References CpuProfilesCollection::NewCodeEntry().

INLINE ( CodeEntry NewCodeEntryLogger::LogEventsAndTags tag,const char *name_prefix,String *name)
inline

Definition at line 408 of file profile-generator.h.

References CpuProfilesCollection::NewCodeEntry().

INLINE ( CodeEntry NewCodeEntryLogger::LogEventsAndTags tag,int args_count)
inline

Definition at line 414 of file profile-generator.h.

References CpuProfilesCollection::NewCodeEntry().

INLINE ( CodeEntry NewCodeEntryint security_token_id)
inline

Definition at line 419 of file profile-generator.h.

References CpuProfilesCollection::NewCodeEntry().

INLINE ( CodeMap code_map())
inline

Definition at line 425 of file profile-generator.h.

INLINE ( void   Tick())
inline

Definition at line 427 of file profile-generator.h.

References SampleRateCalculator::Tick().

INLINE ( double   actual_sampling_rate())
inline

Definition at line 428 of file profile-generator.h.

References SampleRateCalculator::ticks_per_ms().

Field Documentation

const char *const kAnonymousFunctionName
static
Initial value:
=
"(anonymous function)"

Definition at line 432 of file profile-generator.h.

Referenced by StringsStorage::GetFunctionName().

const char *const kGarbageCollectorEntryName
static
Initial value:
=
"(garbage collector)"

Definition at line 434 of file profile-generator.h.

const char *const kProgramEntryName
static
Initial value:
=
"(program)"

Definition at line 433 of file profile-generator.h.


The documentation for this class was generated from the following files: