char *wildcard= NULL;
memcached_server_st *servers;
collection_st *collection;
+ collection_st *next;
uint8_t failed;
collection= gets_collections();
printf("\n");
- collection_st *next;
for (next= collection; next->name; next++)
{
test_st *run;
memcached_st *memc;
memcached_return rc;
struct timeval start_time, end_time;
+ long int load_time;
if (wildcard && fnmatch(wildcard, run->name, 0))
continue;
gettimeofday(&start_time, NULL);
failed= run->function(memc);
gettimeofday(&end_time, NULL);
- long int load_time= timedif(end_time, start_time);
+ load_time= timedif(end_time, start_time);
if (failed)
fprintf(stderr, "\t\t\t\t\t %ld.%03ld [ failed ]\n", load_time / 1000,
load_time % 1000);