Lines Matching refs:module_stat
194 ModuleStats module_stat; in ReportStatistics() local
195 module_stat.identifier = (intptr_t)module; in ReportStatistics()
196 module_stat.path = module->GetFileSpec().GetPath(); in ReportStatistics()
198 module_stat.path.append(1, '('); in ReportStatistics()
199 module_stat.path.append(object_name.GetStringRef().str()); in ReportStatistics()
200 module_stat.path.append(1, ')'); in ReportStatistics()
202 module_stat.uuid = module->GetUUID().GetAsString(); in ReportStatistics()
203 module_stat.triple = module->GetArchitecture().GetTriple().str(); in ReportStatistics()
204 module_stat.symtab_parse_time = module->GetSymtabParseTime().get().count(); in ReportStatistics()
205 module_stat.symtab_index_time = module->GetSymtabIndexTime().get().count(); in ReportStatistics()
208 module_stat.symtab_loaded_from_cache = symtab->GetWasLoadedFromCache(); in ReportStatistics()
209 if (module_stat.symtab_loaded_from_cache) in ReportStatistics()
211 module_stat.symtab_saved_to_cache = symtab->GetWasSavedToCache(); in ReportStatistics()
212 if (module_stat.symtab_saved_to_cache) in ReportStatistics()
219 module_stat.symfile_path = in ReportStatistics()
221 module_stat.debug_index_time = sym_file->GetDebugInfoIndexTime().count(); in ReportStatistics()
222 module_stat.debug_parse_time = sym_file->GetDebugInfoParseTime().count(); in ReportStatistics()
223 module_stat.debug_info_size = sym_file->GetDebugInfoSize(); in ReportStatistics()
224 module_stat.debug_info_index_loaded_from_cache = in ReportStatistics()
226 if (module_stat.debug_info_index_loaded_from_cache) in ReportStatistics()
228 module_stat.debug_info_index_saved_to_cache = in ReportStatistics()
230 if (module_stat.debug_info_index_saved_to_cache) in ReportStatistics()
234 module_stat.symfile_modules.push_back((intptr_t)symbol_module.get()); in ReportStatistics()
235 module_stat.symtab_stripped = module->GetObjectFile()->IsStripped(); in ReportStatistics()
236 if (module_stat.symtab_stripped) in ReportStatistics()
238 module_stat.debug_info_enabled = sym_file->GetLoadDebugInfoEnabled() && in ReportStatistics()
239 module_stat.debug_info_size > 0; in ReportStatistics()
240 if (module_stat.debug_info_enabled) in ReportStatistics()
242 if (module_stat.debug_info_size > 0) in ReportStatistics()
245 symtab_parse_time += module_stat.symtab_parse_time; in ReportStatistics()
246 symtab_index_time += module_stat.symtab_index_time; in ReportStatistics()
247 debug_parse_time += module_stat.debug_parse_time; in ReportStatistics()
248 debug_index_time += module_stat.debug_index_time; in ReportStatistics()
249 debug_info_size += module_stat.debug_info_size; in ReportStatistics()
250 json_modules.emplace_back(module_stat.ToJSON()); in ReportStatistics()