v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-profile-generator.cc File Reference
#include "v8.h"
#include "profile-generator-inl.h"
#include "profiler-extension.h"
#include "cctest.h"
#include "cpu-profiler.h"
#include "../include/v8-profiler.h"
Include dependency graph for test-profile-generator.cc:

Go to the source code of this file.

Functions

 TEST (ProfileNodeFindOrAddChild)
 
 TEST (ProfileNodeFindOrAddChildForSameFunction)
 
 TEST (ProfileTreeAddPathFromStart)
 
 TEST (ProfileTreeAddPathFromEnd)
 
 TEST (ProfileTreeCalculateTotalTicks)
 
 TEST (CodeMapAddCode)
 
 TEST (CodeMapMoveAndDeleteCode)
 
 TEST (RecordTickSample)
 
 TEST (SampleIds)
 
 TEST (NoSamples)
 
 TEST (RecordStackTraceAtStartProfiling)
 
 TEST (Issue51919)
 
 TEST (ProfileNodeScriptId)
 
int GetFunctionLineNumber (LocalContext *env, const char *name)
 
 TEST (LineNumber)
 
 TEST (BailoutReason)
 

Function Documentation

int GetFunctionLineNumber ( LocalContext env,
const char *  name 
)
TEST ( ProfileNodeFindOrAddChild  )

Definition at line 49 of file test-profile-generator.cc.

References CHECK_EQ, CHECK_NE, and NULL.

TEST ( ProfileNodeFindOrAddChildForSameFunction  )

Definition at line 73 of file test-profile-generator.cc.

References CHECK_EQ, CHECK_NE, and NULL.

TEST ( ProfileTreeAddPathFromStart  )

Definition at line 119 of file test-profile-generator.cc.

References CHECK_EQ, CHECK_NE, and NULL.

TEST ( ProfileTreeAddPathFromEnd  )

Definition at line 178 of file test-profile-generator.cc.

References CHECK_EQ, CHECK_NE, and NULL.

TEST ( ProfileTreeCalculateTotalTicks  )

Definition at line 237 of file test-profile-generator.cc.

References CHECK_EQ, CHECK_NE, and NULL.

TEST ( CodeMapAddCode  )

Definition at line 334 of file test-profile-generator.cc.

References CHECK_EQ, and NULL.

TEST ( CodeMapMoveAndDeleteCode  )

Definition at line 364 of file test-profile-generator.cc.

References CHECK_EQ, and NULL.

TEST ( RecordTickSample  )

Definition at line 401 of file test-profile-generator.cc.

References CHECK_EQ, CHECK_NE, CcTest::heap(), and NULL.

TEST ( SampleIds  )

Definition at line 467 of file test-profile-generator.cc.

References CHECK_EQ, and CcTest::heap().

TEST ( NoSamples  )

Definition at line 515 of file test-profile-generator.cc.

References CHECK_EQ, and CcTest::heap().

TEST ( RecordStackTraceAtStartProfiling  )