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-cpu-profiler.cc File Reference
#include "v8.h"
#include "cpu-profiler-inl.h"
#include "cctest.h"
#include "platform.h"
#include "profiler-extension.h"
#include "smart-pointers.h"
#include "utils.h"
#include "../include/v8-profiler.h"
Include dependency graph for test-cpu-profiler.cc:

Go to the source code of this file.

Data Structures

class  TestApiCallbacks
 

Functions

 TEST (StartStop)
 
i::CodeCreateCode (LocalContext *env)
 
 TEST (CodeEvents)
 
 TEST (TickEvents)
 
 TEST (CrashIfStoppingLastNonExistentProfile)
 
 TEST (Issue1398)
 
 TEST (DeleteAllCpuProfiles)
 
 TEST (DeleteCpuProfile)
 
 TEST (ProfileStartEndTime)
 
 TEST (CollectCpuProfile)
 
 TEST (SampleWhenFrameIsNotSetup)
 
 TEST (NativeAccessorUninitializedIC)
 
 TEST (NativeAccessorMonomorphicIC)
 
 TEST (NativeMethodUninitializedIC)
 
 TEST (NativeMethodMonomorphicIC)
 
 TEST (BoundFunctionCall)
 
 TEST (FunctionCallSample)
 
 TEST (FunctionApplySample)
 
 TEST (JsNativeJsSample)
 
 TEST (JsNativeJsRuntimeJsSample)
 
 TEST (JsNative1JsNative2JsSample)
 
 TEST (IdleTime)
 
 TEST (FunctionDetails)
 
 TEST (DontStopOnFinishedProfileDelete)
 

Function Documentation

i::Code* CreateCode ( LocalContext env)

Definition at line 102 of file test-cpu-profiler.cc.

References name, Utils::OpenHandle(), OS::SNPrintF(), and Vector< T >::start().

Referenced by Factory::NewCode(), and TEST().

TEST ( StartStop  )

Definition at line 52 of file test-cpu-profiler.cc.

References Isolate::heap(), CcTest::i_isolate(), and NULL.

TEST ( CrashIfStoppingLastNonExistentProfile  )
TEST ( DeleteAllCpuProfiles  )