#include <stats-collector.h>
Definition at line 84 of file stats-collector.h.
◆ DisabledConcurrentScope
◆ DisabledScope
◆ EnabledConcurrentScope
◆ EnabledScope
◆ IsForcedGC
◆ MarkingType
◆ SweepingType
◆ ConcurrentScopeId
Enumerator |
---|
kNumHistogramConcurrentScopeIds | |
kNumConcurrentScopeIds | |
Definition at line 104 of file stats-collector.h.
◆ GarbageCollectionState
Enumerator |
---|
kNotRunning | |
kUnmarking | |
kMarking | |
kSweeping | |
Definition at line 341 of file stats-collector.h.
◆ ScopeContext
◆ ScopeId
◆ TraceCategory
◆ StatsCollector() [1/2]
cppgc::internal::StatsCollector::StatsCollector |
( |
Platform * | platform | ) |
|
|
explicit |
◆ StatsCollector() [2/2]
cppgc::internal::StatsCollector::StatsCollector |
( |
const StatsCollector & | | ) |
|
|
delete |
◆ allocated_memory_size()
size_t cppgc::internal::StatsCollector::allocated_memory_size |
( |
| ) |
const |
◆ allocated_object_size()
size_t cppgc::internal::StatsCollector::allocated_object_size |
( |
| ) |
const |
◆ AllocatedObjectSizeSafepointImpl()
void cppgc::internal::StatsCollector::AllocatedObjectSizeSafepointImpl |
( |
| ) |
|
|
private |
◆ DecrementDiscardedMemory()
void cppgc::internal::StatsCollector::DecrementDiscardedMemory |
( |
size_t | value | ) |
|
◆ discarded_memory_size()
size_t cppgc::internal::StatsCollector::discarded_memory_size |
( |
| ) |
const |
◆ ForAllAllocationObservers()
template<typename Callback >
void cppgc::internal::StatsCollector::ForAllAllocationObservers |
( |
Callback | callback | ) |
|
|
private |
◆ GetMetricRecorder()
MetricRecorder * cppgc::internal::StatsCollector::GetMetricRecorder |
( |
| ) |
const |
|
inline |
◆ GetPreviousEventForTesting()
const Event & cppgc::internal::StatsCollector::GetPreviousEventForTesting |
( |
| ) |
const |
|
inline |
◆ GetRecentAllocationSpeedInBytesPerMs()
double cppgc::internal::StatsCollector::GetRecentAllocationSpeedInBytesPerMs |
( |
| ) |
const |
◆ GetScopeName() [1/2]
|
inlinestaticconstexprprivate |
◆ GetScopeName() [2/2]
static constexpr const char * cppgc::internal::StatsCollector::GetScopeName |
( |
ScopeId | id, |
|
|
CollectionType | type ) |
|
inlinestaticconstexprprivate |
◆ IncrementDiscardedMemory()
void cppgc::internal::StatsCollector::IncrementDiscardedMemory |
( |
size_t | value | ) |
|
◆ marked_bytes()
size_t cppgc::internal::StatsCollector::marked_bytes |
( |
| ) |
const |
◆ marked_bytes_on_current_cycle()
size_t cppgc::internal::StatsCollector::marked_bytes_on_current_cycle |
( |
| ) |
const |
◆ marking_time()
◆ NotifyAllocatedMemory()
void cppgc::internal::StatsCollector::NotifyAllocatedMemory |
( |
int64_t | size | ) |
|
◆ NotifyAllocation()
void cppgc::internal::StatsCollector::NotifyAllocation |
( |
size_t | bytes | ) |
|
◆ NotifyExplicitFree()
void cppgc::internal::StatsCollector::NotifyExplicitFree |
( |
size_t | bytes | ) |
|
◆ NotifyFreedMemory()
void cppgc::internal::StatsCollector::NotifyFreedMemory |
( |
int64_t | size | ) |
|
◆ NotifyMarkingCompleted()
void cppgc::internal::StatsCollector::NotifyMarkingCompleted |
( |
size_t | marked_bytes | ) |
|
◆ NotifyMarkingStarted()
◆ NotifySafePointForConservativeCollection()
void cppgc::internal::StatsCollector::NotifySafePointForConservativeCollection |
( |
| ) |
|
◆ NotifySafePointForTesting()
void cppgc::internal::StatsCollector::NotifySafePointForTesting |
( |
| ) |
|
◆ NotifySweepingCompleted()
void cppgc::internal::StatsCollector::NotifySweepingCompleted |
( |
SweepingType | sweeping_type | ) |
|
◆ NotifyUnmarkingStarted()
void cppgc::internal::StatsCollector::NotifyUnmarkingStarted |
( |
CollectionType | collection_type | ) |
|
◆ operator=()
◆ RecordHistogramSample() [1/2]
◆ RecordHistogramSample() [2/2]
◆ RegisterObserver()
◆ ResetDiscardedMemory()
void cppgc::internal::StatsCollector::ResetDiscardedMemory |
( |
| ) |
|
◆ resident_memory_size()
size_t cppgc::internal::StatsCollector::resident_memory_size |
( |
| ) |
const |
◆ SetMetricRecorder()
void cppgc::internal::StatsCollector::SetMetricRecorder |
( |
std::unique_ptr< MetricRecorder > | histogram_recorder | ) |
|
|
inline |
◆ UnregisterObserver()
◆ allocated_bytes_since_end_of_marking_
int64_t cppgc::internal::StatsCollector::allocated_bytes_since_end_of_marking_ = 0 |
|
private |
◆ allocated_bytes_since_safepoint_
int64_t cppgc::internal::StatsCollector::allocated_bytes_since_safepoint_ = 0 |
|
private |
◆ allocation_observer_deleted_
bool cppgc::internal::StatsCollector::allocation_observer_deleted_ = false |
|
private |
◆ allocation_observers_
◆ current_
Event cppgc::internal::StatsCollector::current_ |
|
private |
◆ discarded_bytes_
std::atomic<size_t> cppgc::internal::StatsCollector::discarded_bytes_ {0} |
|
private |
◆ explicitly_freed_bytes_since_safepoint_
int64_t cppgc::internal::StatsCollector::explicitly_freed_bytes_since_safepoint_ = 0 |
|
private |
◆ gc_state_
◆ kAllocationThresholdBytes
size_t cppgc::internal::StatsCollector::kAllocationThresholdBytes = 1024 |
|
staticconstexpr |
◆ marked_bytes_so_far_
size_t cppgc::internal::StatsCollector::marked_bytes_so_far_ = 0 |
|
private |
◆ memory_allocated_bytes_
int64_t cppgc::internal::StatsCollector::memory_allocated_bytes_ = 0 |
|
private |
◆ memory_freed_bytes_since_end_of_marking_
int64_t cppgc::internal::StatsCollector::memory_freed_bytes_since_end_of_marking_ = 0 |
|
private |
◆ metric_recorder_
std::unique_ptr<MetricRecorder> cppgc::internal::StatsCollector::metric_recorder_ |
|
private |
◆ platform_
Platform* cppgc::internal::StatsCollector::platform_ |
|
private |
◆ previous_
Event cppgc::internal::StatsCollector::previous_ |
|
private |
◆ time_of_last_end_of_marking_
The documentation for this class was generated from the following files: