MCPcopy 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
61auto TestEnvironmentState::GetCoreCount() const -> size_t {
62 std::lock_guard<std::mutex> lock(map_mutex_);
63 return cores_.size();
64}
65
66void TestEnvironmentState::BindThreadToCore(std::thread::id tid,
67 size_t core_id) {

Callers 2

TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected