• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:diff

2 // Use of this source code is governed by a BSD-style license that can be
7 #include "src/compilation-info.h"
8 #include "src/compiler/pipeline-statistics.h"
9 #include "src/compiler/zone-stats.h"
19 scope_.reset(new ZoneStats::StatsScope(pipeline_stats->zone_stats_)); in Begin()
21 outer_zone_initial_size_ = pipeline_stats->OuterZoneSize(); in Begin()
23 outer_zone_initial_size_ - in Begin()
24 pipeline_stats->total_stats_.outer_zone_initial_size_ + in Begin()
25 pipeline_stats->zone_stats_->GetCurrentAllocatedBytes(); in Begin()
31 CompilationStatistics::BasicStats* diff) { in End() argument
33 diff->function_name_ = pipeline_stats->function_name_; in End()
34 diff->delta_ = timer_.Elapsed(); in End()
36 pipeline_stats->OuterZoneSize() - outer_zone_initial_size_; in End()
37 diff->max_allocated_bytes_ = outer_zone_diff + scope_->GetMaxAllocatedBytes(); in End()
38 diff->absolute_max_allocated_bytes_ = in End()
39 diff->max_allocated_bytes_ + allocated_bytes_at_start_; in End()
40 diff->total_allocated_bytes_ = in End()
41 outer_zone_diff + scope_->GetTotalAllocatedBytes(); in End()
48 : isolate_(info->isolate()), in PipelineStatistics()
49 outer_zone_(info->zone()), in PipelineStatistics()
51 compilation_stats_(isolate_->GetTurboStatistics()), in PipelineStatistics()
55 if (info->has_shared_info()) { in PipelineStatistics()
56 source_size_ = static_cast<size_t>(info->shared_info()->SourceSize()); in PipelineStatistics()
58 info->shared_info()->DebugName()->ToCString(); in PipelineStatistics()
67 CompilationStatistics::BasicStats diff; in ~PipelineStatistics() local
68 total_stats_.End(this, &diff); in ~PipelineStatistics()
69 compilation_stats_->RecordTotalStats(source_size_, diff); in ~PipelineStatistics()
83 CompilationStatistics::BasicStats diff; in EndPhaseKind() local
84 phase_kind_stats_.End(this, &diff); in EndPhaseKind()
85 compilation_stats_->RecordPhaseKindStats(phase_kind_name_, diff); in EndPhaseKind()
98 CompilationStatistics::BasicStats diff; in EndPhase() local
99 phase_stats_.End(this, &diff); in EndPhase()
100 compilation_stats_->RecordPhaseStats(phase_kind_name_, phase_name_, diff); in EndPhase()