Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cpu-info.cc File Reference
#include "util/cpu-info.h"
#include <boost/algorithm/string.hpp>
#include <iostream>
#include <fstream>
#include <mmintrin.h>
#include <sstream>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "util/pretty-printer.h"
#include "common/names.h"
Include dependency graph for cpu-info.cc:

Go to the source code of this file.

Namespaces

 impala
 This file contains type definitions that are used throughout the code base.
 

Functions

 DECLARE_bool (abort_on_config_error)
 
 DEFINE_int32 (num_cores, 0,"(Advanced) If > 0, it sets the number of cores available to"" Impala. Setting it to 0 means Impala will use all available cores on the machine"" according to /proc/cpuinfo.")
 
int64_t impala::ParseCPUFlags (const string &values)
 

Variables

struct {
   string   impala::name
 
   int64_t   impala::flag
 
impala::flag_mappings []
 
static const long impala::num_flags = sizeof(flag_mappings) / sizeof(flag_mappings[0])
 

Function Documentation

DECLARE_bool ( abort_on_config_error  )
DEFINE_int32 ( num_cores  ,
,
"(Advanced)  If,
,
it sets the number of cores available to""Impala.Setting it to 0 means Impala will use all available cores on the machine""according to/proc/cpuinfo."   
)