// timer.h -- helper class for time accounting -*- C++ -*-
-// Copyright 2009 Free Software Foundation, Inc.
+// Copyright 2009, 2010 Free Software Foundation, Inc.
// Written by Rafael Avila de Espindola <espindola@google.com>.
// This file is part of gold.
TimeStats
get_elapsed_time();
- // Start couting the time.
+ // Start counting the time.
void
start();
Timer(const Timer&);
Timer& operator=(const Timer&);
- // Write the current time infortamion.
+ // Write the current time information.
static void
- get_time(TimeStats *now);
+ get_time(TimeStats* now);
// The time of the last call to start.
TimeStats start_time_;