xtd 0.2.0
Loading...
Searching...
No Matches
memory_information.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "core_export.hpp"
6#include "static.hpp"
7#include "usize.hpp"
8
10namespace xtd {
21 public:
22
24
33
40 static xtd::usize get_free_process_memory() noexcept;
41
48 static xtd::usize get_free_virtual_memory() noexcept;
49
57
67
76
83
89 static xtd::usize get_used_process_memory() noexcept;
90
96 static xtd::usize get_used_virtual_memory() noexcept;
98 };
99}
Represents information about the memory. This class is static.
Definition memory_information.hpp:20
static xtd::usize get_free_virtual_memory() noexcept
Gets the free virtual memory in bytes.
static xtd::usize get_used_physical_memory() noexcept
Gets the used physical memory information in bytes.
static xtd::usize get_used_process_memory() noexcept
Gets the used physical memory in bytes.
static xtd::usize get_total_virtual_memory() noexcept
Gets the total virtual memory in bytes.
static xtd::usize get_total_process_memory() noexcept
Gets the total physical memory in bytes.
static xtd::usize get_free_physical_memory() noexcept
Gets the free physical memory in bytes.
static xtd::usize get_used_virtual_memory() noexcept
Gets the used virtual memory in bytes.
static xtd::usize get_free_process_memory() noexcept
Gets the free process memory in bytes.
static xtd::usize get_total_physical_memory() noexcept
Gets the total physical memory in bytes.
Contains core_export_ keyword.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:38
#define core_export_
Define shared library export.
Definition core_export.hpp:13
std::size_t usize
Represents an unsigned size of any object in bytes.
Definition usize.hpp:22
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::static_object class.
Contains xtd::usize type.