#include <Common/Compat.h>
#include "LoadClient.h"
#include "LoadThread.h"
#include "QueryThread.h"
#include "ParallelLoad.h"
#include <Hypertable/Lib/Client.h>
#include <Hypertable/Lib/DataGenerator.h>
#include <Hypertable/Lib/Config.h>
#include <Hypertable/Lib/Cells.h>
#include <Common/Stopwatch.h>
#include <Common/String.h>
#include <Common/Init.h>
#include <Common/Usage.h>
#include <boost/algorithm/string.hpp>
#include <boost/progress.hpp>
#include <boost/shared_array.hpp>
#include <boost/thread/thread.hpp>
#include <chrono>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <thread>
Go to the source code of this file.
|
void | generate_update_load (PropertiesPtr &props, String &tablename, bool flush,::uint32_t mutator_flags,::uint64_t flush_interval,::uint64_t shared_mutator_flush_interval, bool to_stdout, String &sample_fname,::int32_t delete_pct, bool thrift) |
|
void | generate_update_load_parallel (PropertiesPtr &props, String &tablename,::int32_t parallel, bool flush,::uint32_t mutator_flags,::uint64_t flush_interval,::uint64_t shared_mutator_flush_interval,::int32_t delete_pct, bool thrift) |
|
void | generate_query_load (PropertiesPtr &props, String &tablename, bool to_stdout,::int32_t delay, String &sample_fname, bool thrift) |
|
void | generate_query_load_parallel (PropertiesPtr &props, String &tablename, int32_t parallel) |
|
double | std_dev (::uint64_t nn, double sum, double sq_sum) |
|
void | parse_command_line (int argc, char **argv, PropertiesPtr &props) |
|
int | main (int argc, char **argv) |
|
void generate_query_load |
( |
PropertiesPtr & |
props, |
|
|
String & |
tablename, |
|
|
bool |
to_stdout, |
|
|
::int32_t |
delay, |
|
|
String & |
sample_fname, |
|
|
bool |
thrift |
|
) |
| |
void generate_query_load_parallel |
( |
PropertiesPtr & |
props, |
|
|
String & |
tablename, |
|
|
int32_t |
parallel |
|
) |
| |
void generate_update_load |
( |
PropertiesPtr & |
props, |
|
|
String & |
tablename, |
|
|
bool |
flush, |
|
|
::uint32_t |
mutator_flags, |
|
|
::uint64_t |
flush_interval, |
|
|
::uint64_t |
shared_mutator_flush_interval, |
|
|
bool |
to_stdout, |
|
|
String & |
sample_fname, |
|
|
::int32_t |
delete_pct, |
|
|
bool |
thrift |
|
) |
| |
void generate_update_load_parallel |
( |
PropertiesPtr & |
props, |
|
|
String & |
tablename, |
|
|
::int32_t |
parallel, |
|
|
bool |
flush, |
|
|
::uint32_t |
mutator_flags, |
|
|
::uint64_t |
flush_interval, |
|
|
::uint64_t |
shared_mutator_flush_interval, |
|
|
::int32_t |
delete_pct, |
|
|
bool |
thrift |
|
) |
| |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
void parse_command_line |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
PropertiesPtr & |
props |
|
) |
| |
double std_dev |
( |
::uint64_t |
nn, |
|
|
double |
sum, |
|
|
double |
sq_sum |
|
) |
| |
- Parameters
-
nn | Size of set of numbers |
sum | Sum of numbers in set |
sq_sum | Sum of squares of numbers in set |
- Returns
- std deviation of set
Definition at line 871 of file ht_load_generator.cc.