aboutsummaryrefslogtreecommitdiff
path: root/gold/timer.cc
AgeCommit message (Collapse)AuthorFilesLines
2010-05-26 * timer.cc: Only #include <sys/times.h> if HAVE_TIMES is defined.Ian Lance Taylor1-1/+3
2009-12-172009-12-17 Rafael Avila de Espindola <espindola@google.com>Rafael Ávila de Espíndola1-0/+107
* Makefile.am (CCFILES): Add timer.cc. (HFILES): Add timer.h. * configure.ac: Check for sysconf and times. * main.cc: include timer.h. (main): Use Timer instead of get_run_time. * timer.cc: New. * timer.h: New. * workqueue.cc: include timer.h. (Workqueue::find_and_run_task): Report user, sys and wall time. * Makefile.in: Regenerate. * config.in: Regenerate. * configure: Regenerate.