proxygen
folly::HugePageSize Struct Reference

#include <HugePages.h>

Inheritance diagram for folly::HugePageSize:

Public Member Functions

 HugePageSize (size_t s)
 
fs::path filePath (const fs::path &relpath) const
 

Public Attributes

size_t size = 0
 
fs::path mountPoint
 
dev_t device = 0
 

Detailed Description

Definition at line 34 of file HugePages.h.

Constructor & Destructor Documentation

folly::HugePageSize::HugePageSize ( size_t  s)
inlineexplicit

Definition at line 35 of file HugePages.h.

35 : size(s) {}
static set< string > s

Member Function Documentation

fs::path folly::HugePageSize::filePath ( const fs::path &  relpath) const
inline

Definition at line 37 of file HugePages.h.

References mountPoint.

37  {
38  return mountPoint / relpath;
39  }
fs::path mountPoint
Definition: HugePages.h:42

Member Data Documentation

dev_t folly::HugePageSize::device = 0

Definition at line 43 of file HugePages.h.

fs::path folly::HugePageSize::mountPoint

Definition at line 42 of file HugePages.h.

Referenced by filePath().

size_t folly::HugePageSize::size = 0

Definition at line 41 of file HugePages.h.

Referenced by folly::operator<(), and folly::operator==().


The documentation for this struct was generated from the following file: