2021-10-24 09:04:02 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: RamStat.hpp
|
|
|
|
Date: 2021-10-24
|
|
|
|
Author: Reece
|
|
|
|
***/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Aurora::HWInfo
|
|
|
|
{
|
2022-08-02 04:58:00 +00:00
|
|
|
/**
|
|
|
|
* @brief A fraction of bytes to be used by memory stat apis.
|
|
|
|
* Defer to RamInfo.hpp
|
|
|
|
*/
|
2021-10-24 09:04:02 +00:00
|
|
|
struct RamStat
|
|
|
|
{
|
2022-08-02 04:58:00 +00:00
|
|
|
/**
|
|
|
|
* @brief Bytes used
|
|
|
|
*/
|
2022-08-20 06:53:48 +00:00
|
|
|
AuUInt64 qwUsed;
|
2022-08-02 04:58:00 +00:00
|
|
|
|
|
|
|
/**
|
2022-08-20 06:53:48 +00:00
|
|
|
* @brief Total bytes. Available meaning the theoretical absolute, not the remainder.
|
2022-08-02 04:58:00 +00:00
|
|
|
*/
|
2022-08-20 06:53:48 +00:00
|
|
|
AuUInt64 qwAvailable;
|
2021-10-24 09:04:02 +00:00
|
|
|
};
|
|
|
|
}
|