瀏覽代碼

wait_tree: Add ideal core and affinity mask.

bunnei 8 年之前
父節點
當前提交
e6671190a5
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/yuzu/debugger/wait_tree.cpp

+ 2 - 0
src/yuzu/debugger/wait_tree.cpp

@@ -248,6 +248,8 @@ std::vector<std::unique_ptr<WaitTreeItem>> WaitTreeThread::GetChildren() const {
     }
 
     list.push_back(std::make_unique<WaitTreeText>(tr("processor = %1").arg(processor)));
+    list.push_back(std::make_unique<WaitTreeText>(tr("ideal core = %1").arg(thread.ideal_core)));
+    list.push_back(std::make_unique<WaitTreeText>(tr("affinity mask = %1").arg(thread.mask)));
     list.push_back(std::make_unique<WaitTreeText>(tr("thread id = %1").arg(thread.GetThreadId())));
     list.push_back(std::make_unique<WaitTreeText>(tr("priority = %1(current) / %2(normal)")
                                                       .arg(thread.current_priority)