#include <cpu-profiler.h>
|
| CpuProfiler (Isolate *isolate, CpuProfilingNamingMode=kDebugNaming, CpuProfilingLoggingMode=kLazyLogging) |
|
| CpuProfiler (Isolate *isolate, CpuProfilingNamingMode naming_mode, CpuProfilingLoggingMode logging_mode, CpuProfilesCollection *profiles, Symbolizer *test_symbolizer, ProfilerEventsProcessor *test_processor, ProfilerCodeObserver *test_code_observer) |
|
| ~CpuProfiler () |
|
| CpuProfiler (const CpuProfiler &)=delete |
|
CpuProfiler & | operator= (const CpuProfiler &)=delete |
|
base::TimeDelta | sampling_interval () const |
|
void | set_sampling_interval (base::TimeDelta value) |
|
void | set_use_precise_sampling (bool) |
|
void | CollectSample (const std::optional< uint64_t > trace_id=std::nullopt) |
|
size_t | GetEstimatedMemoryUsage () const |
|
CpuProfilingResult | StartProfiling (CpuProfilingOptions options={}, std::unique_ptr< DiscardedSamplesDelegate > delegate=nullptr) |
|
CpuProfilingResult | StartProfiling (const char *title, CpuProfilingOptions options={}, std::unique_ptr< DiscardedSamplesDelegate > delegate=nullptr) |
|
CpuProfilingResult | StartProfiling (Tagged< String > title, CpuProfilingOptions options={}, std::unique_ptr< DiscardedSamplesDelegate > delegate=nullptr) |
|
CpuProfile * | StopProfiling (const char *title) |
|
CpuProfile * | StopProfiling (Tagged< String > title) |
|
CpuProfile * | StopProfiling (ProfilerId id) |
|
int | GetProfilesCount () |
|
CpuProfile * | GetProfile (int index) |
|
void | DeleteAllProfiles () |
|
void | DeleteProfile (CpuProfile *profile) |
|
bool | is_profiling () const |
|
Symbolizer * | symbolizer () const |
|
ProfilerEventsProcessor * | processor () const |
|
Isolate * | isolate () const |
|
CodeEntryStorage * | code_entries () |
|
ProfilerListener * | profiler_listener_for_test () const |
|
InstructionStreamMap * | code_map_for_test () |
|
Definition at line 328 of file cpu-profiler.h.
◆ CpuProfilingResult
◆ LoggingMode
◆ NamingMode
◆ ProfilingMode
◆ StartProfilingStatus
◆ CpuProfiler() [1/3]
◆ CpuProfiler() [2/3]
◆ ~CpuProfiler()
v8::internal::CpuProfiler::~CpuProfiler |
( |
| ) |
|
◆ CpuProfiler() [3/3]
v8::internal::CpuProfiler::CpuProfiler |
( |
const CpuProfiler & | | ) |
|
|
delete |
◆ AdjustSamplingInterval()
void v8::internal::CpuProfiler::AdjustSamplingInterval |
( |
| ) |
|
|
private |
◆ code_entries()
◆ code_map_for_test()
◆ CollectSample() [1/2]
void v8::internal::CpuProfiler::CollectSample |
( |
const std::optional< uint64_t > | trace_id = std::nullopt | ) |
|
◆ CollectSample() [2/2]
void v8::internal::CpuProfiler::CollectSample |
( |
Isolate * | isolate, |
|
|
std::optional< uint64_t > | trace_id = std::nullopt ) |
|
static |
◆ ComputeSamplingInterval()
◆ DeleteAllProfiles()
void v8::internal::CpuProfiler::DeleteAllProfiles |
( |
| ) |
|
◆ DeleteProfile()
void v8::internal::CpuProfiler::DeleteProfile |
( |
CpuProfile * | profile | ) |
|
◆ DisableLogging()
void v8::internal::CpuProfiler::DisableLogging |
( |
| ) |
|
|
private |
◆ EnableLogging()
void v8::internal::CpuProfiler::EnableLogging |
( |
| ) |
|
|
private |
◆ GetAllProfilersMemorySize()
size_t v8::internal::CpuProfiler::GetAllProfilersMemorySize |
( |
Isolate * | isolate | ) |
|
|
static |
◆ GetEstimatedMemoryUsage()
size_t v8::internal::CpuProfiler::GetEstimatedMemoryUsage |
( |
| ) |
const |
◆ GetProfile()
CpuProfile * v8::internal::CpuProfiler::GetProfile |
( |
int | index | ) |
|
◆ GetProfilesCount()
int v8::internal::CpuProfiler::GetProfilesCount |
( |
| ) |
|
◆ is_profiling()
bool v8::internal::CpuProfiler::is_profiling |
( |
| ) |
const |
|
inline |
◆ isolate()
Isolate * v8::internal::CpuProfiler::isolate |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ processor()
◆ profiler_listener_for_test()
ProfilerListener * v8::internal::CpuProfiler::profiler_listener_for_test |
( |
| ) |
const |
|
inline |
◆ ResetProfiles()
void v8::internal::CpuProfiler::ResetProfiles |
( |
| ) |
|
|
private |
◆ sampling_interval()
◆ set_sampling_interval()
void v8::internal::CpuProfiler::set_sampling_interval |
( |
base::TimeDelta | value | ) |
|
◆ set_use_precise_sampling()
void v8::internal::CpuProfiler::set_use_precise_sampling |
( |
bool | value | ) |
|
◆ StartProcessorIfNotStarted()
void v8::internal::CpuProfiler::StartProcessorIfNotStarted |
( |
| ) |
|
|
private |
◆ StartProfiling() [1/3]
◆ StartProfiling() [2/3]
◆ StartProfiling() [3/3]
◆ StopProcessor()
void v8::internal::CpuProfiler::StopProcessor |
( |
| ) |
|
|
private |
◆ StopProfiling() [1/3]
CpuProfile * v8::internal::CpuProfiler::StopProfiling |
( |
const char * | title | ) |
|
◆ StopProfiling() [2/3]
◆ StopProfiling() [3/3]
◆ symbolizer()
Symbolizer * v8::internal::CpuProfiler::symbolizer |
( |
| ) |
const |
|
inline |
◆ base_sampling_interval_
◆ code_entries_
◆ code_observer_
◆ is_profiling_
bool v8::internal::CpuProfiler::is_profiling_ |
|
private |
◆ isolate_
Isolate* const v8::internal::CpuProfiler::isolate_ |
|
private |
◆ logging_mode_
const LoggingMode v8::internal::CpuProfiler::logging_mode_ |
|
private |
◆ naming_mode_
const NamingMode v8::internal::CpuProfiler::naming_mode_ |
|
private |
◆ processor_
◆ profiler_listener_
◆ profiles_
◆ profiling_scope_
std::unique_ptr<ProfilingScope> v8::internal::CpuProfiler::profiling_scope_ |
|
private |
◆ symbolizer_
std::unique_ptr<Symbolizer> v8::internal::CpuProfiler::symbolizer_ |
|
private |
◆ use_precise_sampling_
bool v8::internal::CpuProfiler::use_precise_sampling_ = true |
|
private |
The documentation for this class was generated from the following files: