* gold.cc: Include timer.h.
authorCary Coutant <ccoutant@google.com>
Tue, 18 Oct 2011 00:06:10 +0000 (00:06 +0000)
committerCary Coutant <ccoutant@google.com>
Tue, 18 Oct 2011 00:06:10 +0000 (00:06 +0000)
commitb490c0bbaf81fb741c6751eff30082883343e2ff
treefbfdd4a8a314245629467b77cc7fa4203fac6a23
parent41835e6a39b581ab4f7fba25e02aba01e50a8521
* gold.cc: Include timer.h.
(queue_middle_tasks): Stamp time.
(queue_final_tasks): Likewise.
* main.cc (main): Store timer in parameters.  Print timers
for each pass.
* parameters.cc (Parameters::Parameters): Initialize timer_.
(Parameters::set_timer): New function.
(set_parameters_timer): New function.
* parameters.h (Parameters::set_timer): New function.
(Parameters::timer): New function.
(Parameters::timer_): New data member.
(set_parameters_timer): New function.
* timer.cc (Timer::stamp): New function.
(Timer::get_pass_time): New function.
* timer.h (Timer::stamp): New function.
(Timer::get_pass_time): New function.
(Timer::pass_times_): New data member.
gold/ChangeLog
gold/gold.cc
gold/main.cc
gold/parameters.cc
gold/parameters.h
gold/timer.cc
gold/timer.h