Lines Matching defs:tid
110 threadInfo.name.c_str(), threadInfo.tid, threadInfo.pid, cpuId.c_str(), beginTimeStamp.c_str(),
111 threadInfo.name.c_str(), threadInfo.tid, prio, taskLabels_[threadInfo.pid][gid].c_str(), taskId.c_str(), prio);
129 taskLabels_[threadInfo.pid][gid].c_str(), taskId.c_str(), prio, threadInfo.name.c_str(), threadInfo.tid, prio);
139 const int tid)
144 if (mark.find("prev_pid=" + std::to_string(tid)) != std::string::npos) {
162 } else if (mark.find("next_pid=" + std::to_string(tid)) != std::string::npos &&
230 const int tid)
234 return ReplaceSchedSwitchLog(fakeLog, mark, pid, gid, tid);
292 auto tid = FindIntNumberAfterStr(index, "pid=");
293 if (traceMap.find(tid) == traceMap.end()) {
294 traceMap[tid] = std::vector<int>();
296 traceMap[tid].push_back(index);
307 auto tid = stoi(context_[index].substr(beginPos, endPos - beginPos));
308 if (traceMap.find(tid) == traceMap.end()) {
309 traceMap[tid] = std::vector<int>();
311 traceMap[tid].push_back(index);
356 auto tid = thread.first;
357 ffrtPidMap_[pid][tid].indices = traceMap[tid];
366 for (auto &[tid, ffrtContent] : ffrtPidMap_[pid]) {
369 threadInfo.tid = tid;
376 ProcessMarkWithSchedSwitch(tid, prio, index);
398 context_[index] = ConvertWorkerLogToTask(context_[index], pid, gid, tid);
405 void FfrtConverter::ProcessMarkWithSchedSwitch(const int tid, int &prio, const size_t index)
408 if (context_[index].find("prev_pid=" + std::to_string(tid) + " ") != std::string::npos) {
416 } else if (context_[index].find("next_pid=" + std::to_string(tid)) != std::string::npos) {
478 threadInfo.tid, threadInfo.pid, cpuId.c_str(), timestamp.c_str(), tracingMarkerKey_.c_str(),