~brianaker/libmemcached/embedded

« back to all changes in this revision

Viewing changes to clients/memstat.c

  • Committer: Brian Aker
  • Date: 2009-09-22 08:09:29 UTC
  • mfrom: (568.4.1 libmemcached)
  • Revision ID: brian@gaz-20090922080929-xwukchclxxhunn4v
Merge Patrick

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
      }
169
169
      gettimeofday(&end_time, NULL);
170
170
 
171
 
      elapsed_time= timedif(end_time, start_time);
172
 
      elapsed_time /= (long)num_of_tests;
 
171
      elapsed_time= (long) timedif(end_time, start_time);
 
172
      elapsed_time /= (long) num_of_tests;
173
173
 
174
174
      if (elapsed_time > slowest_time)
175
175
      {