code: func (m *cgroupManagerImpl) GetResourceStats(name CgroupName) (*ResourceStats, error) {
  	cgroupPaths := m.buildCgroupPaths(name)
  	stats, err := getStatsSupportedSubsystems(cgroupPaths)
  	if err != nil {
  		return nil, fmt.Errorf("failed to get stats supported cgroup subsystems for cgroup %v: %v", name, err)
  	}
  	return toResourceStats(stats), nil
  }
docs: // Get sets the ResourceParameters of the specified cgroup as read from the cgroup fs