Searched refs:procDir (Results 1 – 3 of 3) sorted by relevance
120 DIR* procDir = nullptr; in WriteProcnum() local121 procDir = OpenDestDir(path_); in WriteProcnum()122 if (procDir == nullptr) { in WriteProcnum()127 while (int32_t tid = GetValidTid(procDir)) { in WriteProcnum()129 closedir(procDir); in WriteProcnum()136 closedir(procDir); in WriteProcnum()289 DIR* procDir = nullptr; in GetCpuCoreSize() local290 procDir = OpenDestDir(freqPath_); in GetCpuCoreSize()291 if (procDir == nullptr) { in GetCpuCoreSize()295 while (struct dirent* dirEnt = readdir(procDir)) { in GetCpuCoreSize()[all …]
281 DIR* procDir = nullptr; in WriteProcesseList() local283 procDir = OpenDestDir(path_.c_str()); in WriteProcesseList()284 if (procDir == nullptr) { in WriteProcesseList()289 while (int32_t pid = GetValidPid(procDir)) { in WriteProcesseList()291 closedir(procDir); in WriteProcesseList()302 closedir(procDir); in WriteProcesseList()308 DIR* procDir = nullptr; in WriteThreadData() local310 procDir = OpenDestDir(path.c_str()); in WriteThreadData()311 if (procDir == nullptr) { in WriteThreadData()316 while (int32_t tid = GetValidPid(procDir)) { in WriteThreadData()[all …]
762 DIR* procDir = nullptr; in WriteProcesseList() local764 procDir = OpenDestDir(testpath_); in WriteProcesseList()765 if (procDir == nullptr) { in WriteProcesseList()770 while (int32_t pid = GetValidPid(procDir)) { in WriteProcesseList()777 closedir(procDir); in WriteProcesseList()