Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::ThreadStats Struct Reference

Container struct for statistics read from the /proc filesystem for a thread. More...

#include <os-util.h>

Collaboration diagram for impala::ThreadStats:

Public Member Functions

 ThreadStats ()
 

Public Attributes

int64_t user_ns
 
int64_t kernel_ns
 
int64_t iowait_ns
 

Detailed Description

Container struct for statistics read from the /proc filesystem for a thread.

Utility methods to read interesting values from /proc. TODO: Get stats for parent process.

Definition at line 27 of file os-util.h.

Constructor & Destructor Documentation

impala::ThreadStats::ThreadStats ( )
inline

Default constructor zeroes all members in case structure can't be filled by GetThreadStats.

Definition at line 34 of file os-util.h.

Member Data Documentation

int64_t impala::ThreadStats::iowait_ns

Definition at line 30 of file os-util.h.

Referenced by impala::GetThreadStats(), and impala::ThreadMgr::ThreadGroupUrlCallback().

int64_t impala::ThreadStats::kernel_ns

Definition at line 29 of file os-util.h.

Referenced by impala::GetThreadStats(), and impala::ThreadMgr::ThreadGroupUrlCallback().

int64_t impala::ThreadStats::user_ns

Definition at line 28 of file os-util.h.

Referenced by impala::GetThreadStats(), and impala::ThreadMgr::ThreadGroupUrlCallback().


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