Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
#include "util/perf-counters.h"
#include "util/debug-util.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <sys/syscall.h>
#include <linux/perf_event.h>
#include "common/names.h"
Go to the source code of this file.
Namespaces | |
impala | |
This file contains type definitions that are used throughout the code base. | |
Macros | |
#define | COUNTER_SIZE (sizeof(void*)) |
#define | BUFFER_SIZE 256 |
#define | PRETTY_PRINT_WIDTH 13 |
Functions | |
static int | impala::sys_perf_event_open (struct perf_event_attr *attr, pid_t pid, int cpu, int group_fd, unsigned long flags) |
static bool | impala::InitEventAttr (perf_event_attr *attr, PerfCounters::Counter counter) |
static string | impala::GetCounterName (PerfCounters::Counter counter) |
#define BUFFER_SIZE 256 |
Definition at line 34 of file perf-counters.cc.
Referenced by impala::GrowingTest::Test().
#define COUNTER_SIZE (sizeof(void*)) |
Definition at line 33 of file perf-counters.cc.
Referenced by impala::PerfCounters::GetSysCounters().
#define PRETTY_PRINT_WIDTH 13 |
Definition at line 35 of file perf-counters.cc.
Referenced by impala::PerfCounters::PrettyPrint().