ICGroupCpuInfo.h#
Fully qualified name: omni/platforminfo/ICGroupCpuInfo.h
File members: omni/platforminfo/ICGroupCpuInfo.h
// SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
//
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
// property and proprietary rights in and to this material, related
// documentation and any modifications thereto. Any use, reproduction,
// disclosure or distribution of this material and related documentation
// without an express license agreement from NVIDIA CORPORATION or
// its affiliates is strictly prohibited.
#pragma once
#include "ILimitedCpuInfo.h" // for `kNoQuotaSet` constant.
namespace omni
{
namespace platforminfo
{
class ICGroupCpuInfo;
class ICGroupCpuInfo_abi
: public omni::core::Inherits<omni::core::IObject, OMNI_TYPE_ID("omni.platforminfo.ICGroupCpuInfo")>
{
protected:
virtual size_t getCpuSetLogicalCoreCount_abi() const noexcept = 0;
virtual float getCoreUsageQuota_abi() const noexcept = 0;
virtual size_t getCoreSetList_abi(OMNI_ATTR("in, out, count=maxCores, not_null") int32_t* cores,
size_t maxCores) const noexcept = 0;
};
} // namespace platforminfo
} // namespace omni
#define OMNI_BIND_INCLUDE_INTERFACE_DECL
#include "ICGroupCpuInfo.gen.h"
class omni::platforminfo::ICGroupCpuInfo : public omni::core::Generated<omni::platforminfo::ICGroupCpuInfo_abi>
{
};
#define OMNI_BIND_INCLUDE_INTERFACE_IMPL
#include "ICGroupCpuInfo.gen.h"