FLImaging 7.11.27.4
FLImagingBase/SystemInformation.h
1#pragma once
2
10
11#include "FLBase.h"
12
14namespace FLImaging
15{
17 namespace Base
18 {
26 class FL_EXPORT CSystemInformation : public CFLBase
27 {
28 public:
29
39 {
42
45
48
51
54
57
60
63 };
64
65 protected:
74
75 public:
88
89
99 static uint64_t GetTotalPhysicalMemory();
100
110 static uint64_t GetAvailablePhysicalMemory();
111
121 static uint64_t GetTotalVirtualMemory();
122
132 static uint64_t GetAvailableVirtualMemory();
133
134
144 static double GetProcessorUsage();
145
146
156 static int32_t GetProcessorPackageCount();
157
167 static int32_t GetNumaNodeCount();
168
179
190
200 static int32_t GetProcessorL1CacheCount();
201
211 static int32_t GetProcessorL2CacheCount();
212
222 static int32_t GetProcessorL3CacheCount();
223
224
234 static int32_t GetProcessorL1CacheSize();
235
245 static int32_t GetProcessorL2CacheSize();
246
256 static int32_t GetProcessorL3CacheSize();
257
258
268 static int32_t GetProcessorL1LineSize();
269
279 static int32_t GetProcessorL2LineSize();
280
290 static int32_t GetProcessorL3LineSize();
291
292
302 static const wchar_t* GetProcessorName();
303
313 static int32_t GetMemoryChannelCount();
314
324 static int32_t GetMemoryClockSpeed();
325
336
337
347 static int32_t GetProcessorClockSpeed();
348
358 static int32_t GetDMAChannelCount();
359
369 static bool IsX64OperatingSystem();
370
381
392
406 static bool GetCpuTemperature(double& f64CpuTemperature, bool& bTemperatureFromEstimatedTjMax);
407
408
409 DeclareGetClassType();
410 };
411 }
412}
413
CFLBase()
기본 생성자
static int32_t GetProcessorL3LineSize()
프로세서 L3 라인 크기를 얻음
static int32_t GetDMAChannelCount()
DMA Channel 개수를 얻음
static double GetProcessorUsage()
프로세서 사용률을 Percent 단위로 얻음
static const wchar_t * GetProcessorName()
프로세서 명칭을 얻음
static int32_t GetProcessorL1CacheSize()
프로세서 L1 캐시 크기를 얻음
static ECPUInstructionType GetCPUInstruction()
CPU 명령어 타입을 얻음
static int32_t GetLogicalProcessorCoreCount()
논리 프로세서 코어 개수를 얻음
static uint64_t GetTotalPhysicalMemory()
전체 물리 메모리 양을 얻음
static bool IsX64OperatingSystem()
x64 운영체제에서 프로그램이 구동중인지 확인합니다.
static int32_t GetMemoryClockSpeed()
Memory Clock 을 얻음
static uint64_t GetAllocatablePhysicalMemory()
실제 메모리 할당 가능 크기를 바이트 단위로 반환. 메모리 단편화 정도에 따라 큰 메모리를 반환된 만큼 할당 불가능할 수 있으나, 작은 메모리로 쪼개서 할당하는 경우 해당 함수로 판...
static EOperatingSystemType GetOperatingSystemType()
운영체제 종류를 얻어옵니다.
static int32_t GetProcessorL1CacheCount()
프로세서 L1 캐시 개수를 얻음
static int32_t GetProcessorClockSpeed()
프로세서 Clock 을 얻음
static uint64_t GetAvailableVirtualMemory()
유효한 가상 메모리 양을 얻음
EMemoryType
메모리 타입
Definition FLImagingBase/SystemInformation.h:39
@ EMemoryType_DDR2_FB_DIMM
Definition FLImagingBase/SystemInformation.h:50
@ EMemoryType_Unknown
Definition FLImagingBase/SystemInformation.h:41
@ EMemoryType_DDR2
Definition FLImagingBase/SystemInformation.h:47
@ EMemoryType_DDR
Definition FLImagingBase/SystemInformation.h:44
@ EMemoryType_DDR3
Definition FLImagingBase/SystemInformation.h:53
@ EMemoryType_DDR6_Or_Higher
Definition FLImagingBase/SystemInformation.h:62
@ EMemoryType_DDR5
Definition FLImagingBase/SystemInformation.h:59
@ EMemoryType_DDR4
Definition FLImagingBase/SystemInformation.h:56
static int32_t GetMemoryChannelCount()
Memory Channel을 얻음
static int32_t GetProcessorL1LineSize()
프로세서 L1 라인 크기를 얻음
static int32_t GetPhysicalProcessorCoreCount()
물리 프로세서 코어 개수를 얻음
static int32_t GetNumaNodeCount()
Numa Node 개수를 얻음
static bool GetCpuTemperature(double &f64CpuTemperature, bool &bTemperatureFromEstimatedTjMax)
CPU의 온도를 섭씨 단위로 얻어오는 함수. Intel, AMD CPU에 대해 지원.
static int32_t GetProcessorL3CacheSize()
프로세서 L3 캐시 크기를 얻음
static uint64_t GetTotalVirtualMemory()
전체 가상 메모리 양을 얻음
static int32_t GetProcessorL2CacheCount()
프로세서 L2 캐시 개수를 얻음
static int32_t GetProcessorPackageCount()
프로세서 패키지 개수를 얻음
static int32_t GetProcessorL2CacheSize()
프로세서 L2 캐시 크기를 얻음
static int32_t GetProcessorL2LineSize()
프로세서 L2 라인 크기를 얻음
static int32_t GetProcessorL3CacheCount()
프로세서 L3 캐시 개수를 얻음
static uint64_t GetAvailablePhysicalMemory()
유효한 물리 메모리 양을 얻음
static EMemoryType GetMemoryType()
Memory Type 을 얻음
Definition FLImagingBase/AESCryptography.h:18
EOperatingSystemType
운영체제 타입
Definition FLImagingBase/DefinitionsBase.h:2841
ECPUInstructionType
CPU 명령어 타입
Definition FLImagingBase/DefinitionsBase.h:2065