Lines Matching refs:region
260 logprintf(0, "Log: region number %d exceeds region count %d\n",
269 // Report which cores are associated with a given region.
270 cpu_set_t *OsLayer::FindCoreMask(int32 region) {
271 sat_assert(region >= 0);
272 region %= num_nodes_;
273 if (!cpu_sets_valid_[region]) {
274 CPU_ZERO(&cpu_sets_[region]);
276 CPU_SET(i + region * num_cpus_per_node_, &cpu_sets_[region]);
278 cpu_sets_valid_[region] = true;
279 logprintf(5, "Log: Region %d mask 0x%s\n",
280 region, FindCoreMaskFormat(region).c_str());
282 return &cpu_sets_[region];
285 // Return cores associated with a given region in hex string.
286 string OsLayer::FindCoreMaskFormat(int32 region) {
287 cpu_set_t* mask = FindCoreMask(region);