Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
os-util.cc File Reference
#include "util/os-util.h"
#include <unistd.h>
#include <fstream>
#include <sstream>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
#include <gutil/strings/substitute.h>
#include "util/error-util.h"
#include "util/string-parser.h"
#include "common/names.h"
Include dependency graph for os-util.cc:

Go to the source code of this file.

Macros

#define _SC_CLK_TCK   2
 

Variables

static const int64_t TICKS_PER_SEC = sysconf(_SC_CLK_TCK)
 
static const int64_t USER_TICKS = 13
 
static const int64_t KERNEL_TICKS = 14
 
static const int64_t IO_WAIT = 41
 
static const int64_t MAX_OFFSET = IO_WAIT
 

Macro Definition Documentation

#define _SC_CLK_TCK   2

Definition at line 39 of file os-util.cc.

Variable Documentation

const int64_t IO_WAIT = 41
static

Definition at line 47 of file os-util.cc.

Referenced by impala::GetThreadStats().

const int64_t KERNEL_TICKS = 14
static

Definition at line 46 of file os-util.cc.

Referenced by impala::GetThreadStats().

const int64_t MAX_OFFSET = IO_WAIT
static

Definition at line 50 of file os-util.cc.

Referenced by impala::GetThreadStats().

const int64_t TICKS_PER_SEC = sysconf(_SC_CLK_TCK)
static

Definition at line 42 of file os-util.cc.

Referenced by impala::GetThreadStats().

const int64_t USER_TICKS = 13
static

Definition at line 45 of file os-util.cc.

Referenced by impala::GetThreadStats().