view accumulator.h @ 446:6ac898b19656 api-inversion

Incrementally zapping bits of code. In this case, the timeval things that were used for timing the query loop. This functionality is trivially (haha, I said "trivially") replicable using LD_PRELOAD tricks or, alternatively, a profiler.
author mas01cr
date Wed, 24 Dec 2008 10:56:45 +0000
parents a7d61291fbda
children
line wrap: on
line source
#ifndef ACCUMULATOR_H
#define ACCUMULATOR_H

class Accumulator {
public:
  virtual ~Accumulator() {};
  virtual void add_point(adb_result_t *r) = 0;
  virtual adb_query_results_t *get_points() = 0;
};

#endif