Home
last modified time | relevance | path

Searched refs:procState (Results 1 - 8 of 8) sorted by relevance

/base/hiviewdfx/hiview/plugins/unified_collector/observer/
H A Duc_render_state_observer.cpp42 ProcessState procState = GetProcessState(renderStateData.state); in OnRenderStateChanged() local
43 if (procState == INVALID) { in OnRenderStateChanged()
46 ProcessStatus::GetInstance().NotifyProcessState(renderStateData.pid, procState); in OnRenderStateChanged()
/base/hiviewdfx/hiview/framework/native/unified_collection/process/
H A Dprocess_status.cpp117 void ProcessStatus::NotifyProcessState(int32_t pid, ProcessState procState) in NotifyProcessState() argument
120 UpdateProcessState(pid, procState); in NotifyProcessState()
123 void ProcessStatus::UpdateProcessState(int32_t pid, ProcessState procState) in UpdateProcessState() argument
125 HIVIEW_LOGD("pid=%{public}d state=%{public}d", pid, procState); in UpdateProcessState()
126 switch (procState) { in UpdateProcessState()
140 HIVIEW_LOGW("invalid process=%{public}d state=%{public}d", pid, procState); in UpdateProcessState()
/base/hiviewdfx/hiview/framework/native/unified_collection/process/include/
H A Dprocess_status.h45 void NotifyProcessState(int32_t pid, ProcessState procState);
49 void UpdateProcessState(int32_t pid, ProcessState procState);
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/resource/
H A Dmemory.h43 int32_t procState = 0; // process State member
/base/hiviewdfx/hiview/plugins/unified_collector/
H A Dunified_collector.cpp275 ProcessState procState = GetProcessStateByGroup(sysEvent); in OnEventListeningCallback() local
276 if (procState == INVALID) { in OnEventListeningCallback()
277 HIVIEW_LOGD("invalid process state=%{public}d", procState); in OnEventListeningCallback()
280 ProcessStatus::GetInstance().NotifyProcessState(procId, procState); in OnEventListeningCallback()
/base/hiviewdfx/hiview/plugins/unified_collector/storage/
H A Dcpu_storage.cpp107 ProcessState procState = ProcessStatus::GetInstance().GetProcessState(pid); in IsForegroundStateInCollectionPeriod() local
108 if (procState == FOREGROUND) { in IsForegroundStateInCollectionPeriod()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dmemory_collector_impl.cpp100 "procState" << std::endl; in WriteProcessMemoryToFile()
104 processMem.procState << std::endl; in WriteProcessMemoryToFile()
324 memory.procState = ProcessStatus::GetInstance().GetProcessState(pid); in InitProcessMemory()
326 memory.procState = NON_PC_APP_STATE; in InitProcessMemory()
H A Dio_collector_impl.cpp539 ProcessState procState = ProcessStatus::GetInstance().GetProcessState(pid); in GetProcStateInCollectionPeriod() local
540 if (procState == FOREGROUND) { in GetProcStateInCollectionPeriod()
547 return static_cast<int32_t>(procState); in GetProcStateInCollectionPeriod()

Completed in 6 milliseconds