Go to the documentation of this file.
   22 #if defined( __linux__ ) or defined( __APPLE__ ) 
   24 #  include <sys/stat.h> 
   25 #  include <sys/types.h> 
   27 #endif // __linux__ or __APPLE__ 
   70     explicit operator bool()
 const { 
return m_fd != -1; }
 
   71     template <
typename... Args>
 
   86 #define unique_fd_forward( fun )                                                                                       \ 
   87   template <typename... Args>                                                                                          \ 
   88   auto fun( Args&&... args ) const {                                                                                   \ 
   89     return ::fun( m_fd, std::forward<Args>( args )... );                                                               \ 
  100 #undef unique_fd_forward 
  
 
static ProcStats * instance()
unique_fd(unique_fd &&other)
procInfo(double sz, double rss_sz)
unique_fd(const int fd=-1)
unique_fd & open(Args &&... args)
def read(f, regex=".*", skipevents=0)
bool fetch(procInfo &fill_me)
#define unique_fd_forward(fun)
unique_fd & operator=(const unique_fd &)=delete
auto pageSize() const noexcept
unique_fd(const unique_fd &)=delete