def pool_align(vm, object_name, align):
 size_of_obj = vm.profile.get_obj_size(object_name)
 extra = (size_of_obj % align)
 if extra:
  size_of_obj += (align - extra)
 return size_of_obj

def pool_align ( vm , object_name , align ) : size_of_obj = vm . profile . get_obj_size ( object_name ) extra = ( size_of_obj % align ) if extra : size_of_obj += ( align - extra ) return size_of_obj
returns the size of the object accounting for pool alignment .