src/os.cc
// Return cores associated with a given region in hex string.
Return cores associated with a given region in hex string.
Return cores associated with a given region in hex string .
string OsLayer::FindCoreMaskFormat(int32 region) {
  cpu_set_t* mask = FindCoreMask(region);
  string format = cpuset_format(mask);
  if (format.size() < 8)
    format = string(8 - format.size(), '0') + format;
  return format;
}
string OsLayer :: FindCoreMaskFormat ( int32 region ) { cpu_set_t * mask = FindCoreMask ( region ) ; string format = cpuset_format ( mask ) ; if ( format . size ( ) < 8 ) format = string ( 8 - format . size ( ) , ' ' ) + format ; return format ; }
Return cores associated with a given region in hex string.
Return cores associated with a given region in hex string .