~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/archive_performance.cc

  • Committer: Brian Aker
  • Date: 2009-10-12 06:15:02 UTC
  • mfrom: (1165.1.178 static-functions)
  • Revision ID: brian@gaz-20091012061502-cds4m0cya7ow8sj7
Merge Stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
#define ROWS_TO_TEST 2000000LL
43
43
 
44
44
/* prototypes */
45
 
long int timedif(struct timeval a, struct timeval b);
46
 
int generate_data(uint64_t length);
47
 
int read_test(azio_stream *reader_handle, uint64_t rows_to_test_for);
 
45
static long int timedif(struct timeval a, struct timeval b);
 
46
static int generate_data(uint64_t length);
 
47
static int read_test(azio_stream *reader_handle, uint64_t rows_to_test_for);
48
48
 
49
49
int main(int argc, char *argv[])
50
50
{
92
92
  return 0;
93
93
}
94
94
 
95
 
int generate_data(uint64_t rows_to_test)
 
95
static int generate_data(uint64_t rows_to_test)
96
96
{
97
97
  azio_stream writer_handle;
98
98
  uint64_t x;
143
143
  return 0;
144
144
}
145
145
 
146
 
int read_test(azio_stream *reader_handle, uint64_t rows_to_test_for)
 
146
static int read_test(azio_stream *reader_handle, uint64_t rows_to_test_for)
147
147
{
148
148
  uint64_t read_length= 0;
149
149
  uint64_t count= 0;
173
173
  return 0;
174
174
}
175
175
 
176
 
long int timedif(struct timeval a, struct timeval b)
 
176
static long int timedif(struct timeval a, struct timeval b)
177
177
{
178
178
    register int us, s;
179
179