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

Go to the source code of this file.

Functions

 TEST (StartStop)
 
 TEST (CodeEvents)
 
 TEST (TickEvents)
 
 TEST (CrashIfStoppingLastNonExistentProfile)
 
 TEST (Issue1398)
 
 TEST (DeleteAllCpuProfiles)
 
 TEST (DeleteCpuProfile)
 
 TEST (DeleteCpuProfileDifferentTokens)
 

Function Documentation

TEST ( StartStop  )

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

References generator().

TEST ( CodeEvents  )

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

References CHECK_EQ, CHECK_NE, FACTORY, generator(), HEAP, NULL, and v8::internal::StrLength().

TEST ( TickEvents  )

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

References CHECK_EQ, CHECK_NE, generator(), List< T, P >::last(), and NULL.

TEST ( CrashIfStoppingLastNonExistentProfile  )

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

TEST ( DeleteAllCpuProfiles  )

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

References CHECK_EQ.