Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Simple-XX/SimpleKernel
/ GetCoreCount
Method
GetCoreCount
tests/unit_test/mocks/test_environment_state.cpp:61–64 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
}
60
61
auto TestEnvironmentState::GetCoreCount() const -> size_t {
62
std::lock_guard<std::mutex> lock(map_mutex_);
63
return cores_.size();
64
}
65
66
void TestEnvironmentState::BindThreadToCore(std::thread::id tid,
67
size_t core_id) {
Callers
2
TEST_F
Function · 0.45
TEST_F
Function · 0.45
Calls
1
size
Method · 0.80
Tested by
no test coverage detected