mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Experimental GPU overclock
This commit is contained in:
45
app/NvAPIWrapper/Native/GPU/Structures/ECCStatusInfoV1.cs
Normal file
45
app/NvAPIWrapper/Native/GPU/Structures/ECCStatusInfoV1.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System.Runtime.InteropServices;
|
||||
using NvAPIWrapper.Native.Attributes;
|
||||
using NvAPIWrapper.Native.General.Structures;
|
||||
using NvAPIWrapper.Native.Helpers;
|
||||
using NvAPIWrapper.Native.Interfaces;
|
||||
|
||||
namespace NvAPIWrapper.Native.GPU.Structures
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains information regarding the ECC Memory status
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 8)]
|
||||
[StructureVersion(1)]
|
||||
public struct ECCStatusInfoV1 : IInitializable
|
||||
{
|
||||
internal StructureVersion _Version;
|
||||
internal uint _IsSupported;
|
||||
internal ECCConfiguration _ConfigurationOptions;
|
||||
internal uint _IsEnabled;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a boolean value indicating if the ECC memory is available and supported
|
||||
/// </summary>
|
||||
public bool IsSupported
|
||||
{
|
||||
get => _IsSupported.GetBit(0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the ECC memory configurations
|
||||
/// </summary>
|
||||
public ECCConfiguration ConfigurationOptions
|
||||
{
|
||||
get => _ConfigurationOptions;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets boolean value indicating if the ECC memory is currently enabled
|
||||
/// </summary>
|
||||
public bool IsEnabled
|
||||
{
|
||||
get => _IsEnabled.GetBit(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user