Home
last modified time | relevance | path

Searched refs:stats_data (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/process/
Dinternal_linux.cc70 bool ParseProcStats(const std::string& stats_data, in ParseProcStats() argument
74 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() local
139 if (!ReadProcFile(stat_file, &stats_data)) in ReadStatFileAndGetFieldAsInt64()
[all …]
Dprocess_iterator_linux.cc88 std::string stats_data; in CheckForNextProcess() local
111 if (!internal::ReadProcStats(pid, &stats_data)) in CheckForNextProcess()
113 if (!internal::ParseProcStats(stats_data, &proc_stats)) in CheckForNextProcess()
Dinternal_linux.h46 bool ParseProcStats(const std::string& stats_data,
/external/libxcam/xcore/
Dx3a_stats_pool.cpp121 SmartPtr<X3aStatsData> stats_data = data.dynamic_cast_ptr<X3aStatsData> (); in create_buffer_from_data() local
122 XCAM_ASSERT (stats_data.ptr ()); in create_buffer_from_data()
124 return new X3aStats (stats_data); in create_buffer_from_data()
/external/libxcam/modules/isp/
Dx3a_statistics_queue.cpp109 X3aIspStatistics::X3aIspStatistics (const SmartPtr<X3aIspStatsData> &stats_data) in X3aIspStatistics() argument
110 : X3aStats (SmartPtr<X3aStatsData> (stats_data)) in X3aIspStatistics()
250 SmartPtr<X3aIspStatsData> stats_data = data.dynamic_cast_ptr<X3aIspStatsData> (); in create_buffer_from_data() local
251 XCAM_ASSERT (stats_data.ptr ()); in create_buffer_from_data()
253 return new X3aIspStatistics (stats_data); in create_buffer_from_data()
Dx3a_statistics_queue.h64 explicit X3aIspStatistics (const SmartPtr<X3aIspStatsData> &stats_data);