#include <profile-generator.h>
|
| CpuProfilesCollection (Isolate *isolate) |
|
| CpuProfilesCollection (const CpuProfilesCollection &)=delete |
|
CpuProfilesCollection & | operator= (const CpuProfilesCollection &)=delete |
|
void | set_cpu_profiler (CpuProfiler *profiler) |
|
CpuProfilingResult | StartProfiling (const char *title=nullptr, CpuProfilingOptions options={}, std::unique_ptr< DiscardedSamplesDelegate > delegate=nullptr) |
|
CpuProfilingResult | StartProfilingForTesting (ProfilerId id) |
|
CpuProfile * | StopProfiling (ProfilerId id) |
|
bool | IsLastProfileLeft (ProfilerId id) |
|
CpuProfile * | Lookup (const char *title) |
|
std::vector< std::unique_ptr< CpuProfile > > * | profiles () |
|
const char * | GetName (Tagged< Name > name) |
|
void | RemoveProfile (CpuProfile *profile) |
|
base::TimeDelta | GetCommonSamplingInterval () |
|
void | AddPathToCurrentProfiles (base::TimeTicks timestamp, const ProfileStackTrace &path, int src_line, bool update_stats, base::TimeDelta sampling_interval, StateTag state, EmbedderStateTag embedder_state_tag, Address native_context_address=kNullAddress, Address native_embedder_context_address=kNullAddress, const std::optional< uint64_t > trace_id=std::nullopt) |
|
void | UpdateNativeContextAddressForCurrentProfiles (Address from, Address to) |
|
Definition at line 544 of file profile-generator.h.
◆ CpuProfilesCollection() [1/2]
v8::internal::CpuProfilesCollection::CpuProfilesCollection |
( |
Isolate * | isolate | ) |
|
|
explicit |
◆ CpuProfilesCollection() [2/2]
◆ AddPathToCurrentProfiles()
◆ GetCommonSamplingInterval()
base::TimeDelta v8::internal::CpuProfilesCollection::GetCommonSamplingInterval |
( |
| ) |
|
◆ GetName()
const char * v8::internal::CpuProfilesCollection::GetName |
( |
Tagged< Name > | name | ) |
|
|
inline |
◆ IsLastProfileLeft()
bool v8::internal::CpuProfilesCollection::IsLastProfileLeft |
( |
ProfilerId | id | ) |
|
◆ Lookup()
CpuProfile * v8::internal::CpuProfilesCollection::Lookup |
( |
const char * | title | ) |
|
◆ operator=()
◆ profiles()
std::vector< std::unique_ptr< CpuProfile > > * v8::internal::CpuProfilesCollection::profiles |
( |
| ) |
|
|
inline |
◆ RemoveProfile()
void v8::internal::CpuProfilesCollection::RemoveProfile |
( |
CpuProfile * | profile | ) |
|
◆ set_cpu_profiler()
void v8::internal::CpuProfilesCollection::set_cpu_profiler |
( |
CpuProfiler * | profiler | ) |
|
|
inline |
◆ StartProfiling() [1/2]
◆ StartProfiling() [2/2]
◆ StartProfilingForTesting()
◆ StopProfiling()
◆ UpdateNativeContextAddressForCurrentProfiles()
void v8::internal::CpuProfilesCollection::UpdateNativeContextAddressForCurrentProfiles |
( |
Address | from, |
|
|
Address | to ) |
◆ current_profiles_
std::vector<std::unique_ptr<CpuProfile> > v8::internal::CpuProfilesCollection::current_profiles_ |
|
private |
◆ current_profiles_mutex_
◆ finished_profiles_
std::vector<std::unique_ptr<CpuProfile> > v8::internal::CpuProfilesCollection::finished_profiles_ |
|
private |
◆ isolate_
Isolate* v8::internal::CpuProfilesCollection::isolate_ |
|
private |
◆ kMaxSimultaneousProfiles
const int v8::internal::CpuProfilesCollection::kMaxSimultaneousProfiles = 100 |
|
static |
◆ last_id_
std::atomic< ProfilerId > v8::internal::CpuProfilesCollection::last_id_ {0} |
|
staticprivate |
◆ profiler_
CpuProfiler* v8::internal::CpuProfilesCollection::profiler_ |
|
private |
◆ resource_names_
The documentation for this class was generated from the following files: