summaryrefslogtreecommitdiffstats
path: root/veslibrary/ves_cpplibrary/src/lib/encode/XHugePages.cpp
blob: 8d6973c9b0320af6b013d2de517b5b96e82b8d88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include "XHugePages.h"
#include "XHugePagesImp.h"

vagt::encode::XHugePages::XHugePages()
{
}

vagt::encode::XHugePages::XHugePages(const XString & hugePagesIdentifier):
    imp_(make_shared<XHugePagesImp>(hugePagesIdentifier))
{
}

void vagt::encode::XHugePages::setBytesUsed(XNumber bytesUsed)
{
    return imp_->setBytesUsed(bytesUsed);
}

void vagt::encode::XHugePages::setHugePagesIdentifier(const XString & hugePagesIdentifier)
{
    return imp_->setHugePagesIdentifier(hugePagesIdentifier);
}

void vagt::encode::XHugePages::setVmPageNumberFree(XNumber vmPageNumberFree)
{
    return imp_->setVmPageNumberFree(vmPageNumberFree);
}

void vagt::encode::XHugePages::setBytesFree(XNumber bytesFree)
{
    return imp_->setBytesFree(bytesFree);
}

void vagt::encode::XHugePages::setPercentFree(XNumber percentFree)
{
    return imp_->setPercentFree(percentFree);
}

void vagt::encode::XHugePages::setPercentUsed(XNumber percentUsed)
{
    return imp_->setPercentUsed(percentUsed);
}

void vagt::encode::XHugePages::setVmPageNumberUsed(XNumber vmPageNumberUsed)
{
    return imp_->setVmPageNumberUsed(vmPageNumberUsed);
}