aboutsummaryrefslogtreecommitdiffstats
path: root/checks/timer.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-05 12:46:18 +0000
committerlloyd <[email protected]>2008-09-05 12:46:18 +0000
commite292d9c1263fc74c26b26b9bd6f879ab25cc19ee (patch)
tree73953a1061223fc65e9236d232caf04bbc5a1aa4 /checks/timer.cpp
parenta8973ceb0c0f70e67e30b1c36e4ed833bc158445 (diff)
Use the Timer class for all benchmarking
Diffstat (limited to 'checks/timer.cpp')
-rw-r--r--checks/timer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/checks/timer.cpp b/checks/timer.cpp
index 4abd8a05f..0a5a05de2 100644
--- a/checks/timer.cpp
+++ b/checks/timer.cpp
@@ -9,7 +9,8 @@ u64bit Timer::get_clock()
return (tv.tv_sec * 1000000000ULL + tv.tv_nsec);
}
-Timer::Timer(const std::string& n) : name(n)
+Timer::Timer(const std::string& n, u32bit e_mul) :
+ name(n), event_mult(e_mul)
{
time_used = 0;
timer_start = 0;