Home
last modified time | relevance | path

Searched refs:cpuCollection (Results 1 - 2 of 2) sorted by relevance

/base/hiviewdfx/hiview/plugins/unified_collector/storage/include/
H A Dcpu_storage.h45 void StoreProcessData(const ProcessCpuStatInfo& cpuCollection, const std::unordered_set<int32_t>& memcgProcs);
46 void StoreThreadData(const ThreadCpuStatInfo& cpuCollection);
/base/hiviewdfx/hiview/plugins/unified_collector/storage/
H A Dcpu_storage.cpp335 void CpuStorage::StoreThreadData(const ThreadCpuStatInfo& cpuCollection) in StoreThreadData() argument
338 bucket.PutLong(COLUMN_START_TIME, static_cast<int64_t>(cpuCollection.startTime)); in StoreThreadData()
339 bucket.PutLong(COLUMN_END_TIME, static_cast<int64_t>(cpuCollection.endTime)); in StoreThreadData()
340 bucket.PutInt(COLUMN_TID, cpuCollection.tid); in StoreThreadData()
342 bucket.PutDouble(COLUMN_CPU_LOAD, TruncateDecimalWithNBitPrecision(cpuCollection.cpuLoad)); in StoreThreadData()
343 bucket.PutDouble(COLUMN_CPU_USAGE, TruncateDecimalWithNBitPrecision(cpuCollection.cpuUsage)); in StoreThreadData()
346 HIVIEW_LOGE("failed to insert cpu data to db store, tid=%{public}d", cpuCollection.tid); in StoreThreadData()

Completed in 1 milliseconds