JD2022-TU1/main/extern/ITNetwork/gear/tools/systemdetection/systemdetectionmemory.h

46 lines
1.2 KiB
C++

////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Ubisoft Entertainment. All rights reserved.
//
// ProjectFolder: memory
// BelongsToModule: gearsystemdetectionhardware
// ScanFlags: Ignore
//
////////////////////////////////////////////////////////////////////////////////
#pragma once
#ifndef GEAR_SYSTEMDETECTIONMEMORY__INCLUDED
#define GEAR_SYSTEMDETECTIONMEMORY__INCLUDED
GEAR_BEGIN_MODULE(systemdetection, gearsystemdetectionhardware)
namespace SystemDetection
{
class GEAR_DLL_ENTRY Memory
{
public:
/// Memory type
enum Type
{
MEMORYTYPE_UNKNOWN = 0,
MEMORYTYPE_SDR = 1,
MEMORYTYPE_DDR = 2,
MEMORYTYPE_DDR2 = 3,
MEMORYTYPE_DDR3 = 4
};
/// Type of the currently installed memory
Type memoryType;
/// Total memory size
unsigned long long totalSize;
/// Memory frequency, in hertz (hz)
unsigned long long clockFrequencyHz;
};
}//namespace SystemDetection
GEAR_END_MODULE()
#endif