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 "size.hpp"
7#include "static.hpp"
8
10namespace xtd {
21 public:
22
24
33
40 static xtd::size get_free_process_memory() noexcept;
41
48 static xtd::size get_free_virtual_memory() noexcept;
49
56 static xtd::size get_total_physical_memory() noexcept;
57
66 static xtd::size get_total_process_memory() noexcept;
67
75 static xtd::size get_total_virtual_memory() noexcept;
76
82 static xtd::size get_used_physical_memory() noexcept;
83
89 static xtd::size get_used_process_memory() noexcept;
90
96 static xtd::size get_used_virtual_memory() noexcept;
98 };
99}
Represents information about the memory. This class is static.
Definition memory_information.hpp:20
static xtd::size get_free_physical_memory() noexcept
Gets the the free 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:37
#define core_export_
Define shared library export.
Definition core_export.hpp:13
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::static_object class.
Contains xtd::drawing::size class.