v8  3.11.10(node0.8.26)
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.

TEST ( CodeEvents  )

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

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

TEST ( TickEvents  )

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

References CHECK_EQ, CHECK_NE, 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.