Searched refs:stats_data (Results 1 – 6 of 6) sorted by relevance
70 bool ParseProcStats(const std::string& stats_data, in ParseProcStats() argument74 if (stats_data.empty()) in ParseProcStats()81 size_t open_parens_idx = stats_data.find(" ("); in ParseProcStats()82 size_t close_parens_idx = stats_data.rfind(") "); in ParseProcStats()86 DLOG(WARNING) << "Failed to find matched parens in '" << stats_data << "'"; in ParseProcStats()94 proc_stats->push_back(stats_data.substr(0, open_parens_idx)); in ParseProcStats()97 stats_data.substr(open_parens_idx + 1, in ParseProcStats()102 stats_data.substr(close_parens_idx + 2), " ", in ParseProcStats()138 std::string stats_data; in ReadStatFileAndGetFieldAsInt64() local139 if (!ReadProcFile(stat_file, &stats_data)) in ReadStatFileAndGetFieldAsInt64()[all …]
88 std::string stats_data; in CheckForNextProcess() local111 if (!internal::ReadProcStats(pid, &stats_data)) in CheckForNextProcess()113 if (!internal::ParseProcStats(stats_data, &proc_stats)) in CheckForNextProcess()
46 bool ParseProcStats(const std::string& stats_data,
121 SmartPtr<X3aStatsData> stats_data = data.dynamic_cast_ptr<X3aStatsData> (); in create_buffer_from_data() local122 XCAM_ASSERT (stats_data.ptr ()); in create_buffer_from_data()124 return new X3aStats (stats_data); in create_buffer_from_data()
109 X3aIspStatistics::X3aIspStatistics (const SmartPtr<X3aIspStatsData> &stats_data) in X3aIspStatistics() argument110 : X3aStats (SmartPtr<X3aStatsData> (stats_data)) in X3aIspStatistics()250 SmartPtr<X3aIspStatsData> stats_data = data.dynamic_cast_ptr<X3aIspStatsData> (); in create_buffer_from_data() local251 XCAM_ASSERT (stats_data.ptr ()); in create_buffer_from_data()253 return new X3aIspStatistics (stats_data); in create_buffer_from_data()
64 explicit X3aIspStatistics (const SmartPtr<X3aIspStatsData> &stats_data);