Put the class perftest pointer in the constructor of class test, not
commit60455089bb1b332993d70fb141eb5d0a76fe341e
authorKristian Nielsen <knmeister@gmail.com>
Sun, 8 Feb 2009 18:39:24 +0000 (8 19:39 +0100)
committerKristian Nielsen <knmeister@gmail.com>
Sun, 8 Feb 2009 18:39:24 +0000 (8 19:39 +0100)
tree8aab801bc47b76ec9063c7e582aa1300379c613b
parent53f4a2110f01337fda7c5da11bfd5e890ec6ab99
Put the class perftest pointer in the constructor of class test, not
in the run() method. This makes for a nicer interface where we can add
methods in the base class test without the need to pass around the
class perftest pointer all the time.
perf/bitcopy.cc
perf/perftest.cc
perf/perftest.h