Lines Matching defs:const

45 int SourcePositionTable::GetSourceLineNumber(int pc_offset) const {
56 int SourcePositionTable::GetInliningId(int pc_offset) const {
67 size_t SourcePositionTable::Size() const {
72 void SourcePositionTable::print() const {
74 for (const SourcePositionTuple& pos_info : pc_offsets_to_lines_) {
81 const char* const CodeEntry::kEmptyResourceName = "";
82 const char* const CodeEntry::kEmptyBailoutReason = "";
83 const char* const CodeEntry::kNoDeoptReason = "";
85 const char* const CodeEntry::kProgramEntryName = "(program)";
86 const char* const CodeEntry::kIdleEntryName = "(idle)";
87 const char* const CodeEntry::kGarbageCollectorEntryName = "(garbage collector)";
88 const char* const CodeEntry::kUnresolvedFunctionName = "(unresolved function)";
89 const char* const CodeEntry::kRootEntryName = "(root)";
141 uint32_t CodeEntry::GetHash() const {
156 bool CodeEntry::IsSameFunctionAs(const CodeEntry* entry) const {
170 int CodeEntry::GetSourceLine(int pc_offset) const {
183 const std::vector<CodeEntryAndLineNumber>* CodeEntry::GetInlineStack(
184 int pc_offset) const {
196 const char* deopt_reason, int deopt_id,
214 size_t CodeEntry::EstimatedSize() const {
219 for (const auto& inline_entry : rare_data_->inline_entries_) {
225 for (const auto& inline_stack_pair : rare_data_->inline_stacks_) {
280 void CodeEntry::print() const {
304 for (const auto& e : it->second) {
315 for (const CpuProfileDeoptFrame& frame :
331 CpuProfileNode::SourceType ProfileNode::source_type() const {
409 unsigned int length) const {
427 void ProfileNode::Print(int indent) const {
435 for (const CpuProfileDeoptInfo& info : deopt_infos_) {
446 const char* bailout_reason = entry_->bailout_reason();
477 ProfileNode* ProfileTree::AddPathFromEnd(const std::vector<CodeEntry*>& path,
498 ProfileNode* ProfileTree::AddPathFromEnd(const ProfileStackTrace& path,
575 CpuProfile::CpuProfile(CpuProfiler* profiler, ProfilerId id, const char* title,
625 const ProfileStackTrace& path, int src_line,
645 const auto task_runner = V8::GetCurrentPlatform()->GetForegroundTaskRunner(
654 const int kSamplesFlushCount = 100;
655 const int kNodesFlushCount = 10;
664 void BuildNodeValue(const ProfileNode* node, TracedValue* value) {
665 const CodeEntry* entry = node->entry();
684 const char* deopt_reason = entry->bailout_reason();
693 std::vector<const ProfileNode*> pending_nodes = top_down_.TakePendingNodes();
740 [](const SampleInfo& sample) { return sample.line != 0; });
774 void FlattenNodesTree(const v8::CpuProfileNode* node,
775 std::vector<const v8::CpuProfileNode*>* nodes) {
777 const int childrenCount = node->GetChildrenCount();
793 const v8::CpuProfileNode* node, int lineCount) {
809 const v8::CpuProfileNode* node) {
823 void CpuProfileJSONSerializer::SerializeChildren(const v8::CpuProfileNode* node,
831 void CpuProfileJSONSerializer::SerializeNode(const v8::CpuProfileNode* node) {
843 const int childrenCount = node->GetChildrenCount();
850 const char* deoptReason = node->GetBailoutReason();
867 std::vector<const v8::CpuProfileNode*> nodes;
869 reinterpret_cast<const v8::CpuProfileNode*>(profile_->top_down()->root()),
926 void CpuProfile::Print() const {
1035 for (const auto& pair : code_map_) {
1041 size_t CodeMap::GetEstimatedMemoryUsage() const {
1043 for (const auto& pair : code_map_) {
1061 const char* title, CpuProfilingOptions options,
1067 ProfilerId id, const char* title, CpuProfilingOptions options,
1079 for (const std::unique_ptr<CpuProfile>& profile : current_profiles_) {
1110 [=](const std::unique_ptr<CpuProfile>& p) { return id == p->id(); });
1123 CpuProfile* CpuProfilesCollection::Lookup(const char* title) {
1132 const bool empty_title = title[0] == '\0';
1135 [&](const std::unique_ptr<CpuProfile>& p) {
1159 [&](const std::unique_ptr<CpuProfile>& finished_profile) {
1174 base::TimeDelta CpuProfilesCollection::GetCommonSamplingInterval() const {
1182 for (const auto& profile : current_profiles_) {
1197 base::TimeTicks timestamp, const ProfileStackTrace& path, int src_line,
1205 const ProfileStackTrace empty_path;
1206 for (const std::unique_ptr<CpuProfile>& profile : current_profiles_) {
1230 for (const std::unique_ptr<CpuProfile>& profile : current_profiles_) {