summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Timer.h
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-02-26 18:05:31 +0000
committerEli Bendersky <eliben@google.com>2013-02-26 18:05:31 +0000
commitb6080b48cfce5de877a90f34eba344afcf2f9f2c (patch)
tree17b9f43a7be81254e3f17f5c4c0ca79cbd3fdeab /include/llvm/Support/Timer.h
parent3c980d1632fa0a1cef065e558fbc96d83ebbdf40 (diff)
downloadllvm-b6080b48cfce5de877a90f34eba344afcf2f9f2c.tar.gz
llvm-b6080b48cfce5de877a90f34eba344afcf2f9f2c.tar.bz2
llvm-b6080b48cfce5de877a90f34eba344afcf2f9f2c.tar.xz
Slight cosmetic fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176107 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Timer.h')
-rw-r--r--include/llvm/Support/Timer.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/llvm/Support/Timer.h b/include/llvm/Support/Timer.h
index 789c05f44f..d009d7fae5 100644
--- a/include/llvm/Support/Timer.h
+++ b/include/llvm/Support/Timer.h
@@ -6,11 +6,6 @@
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
-//
-// This file defines three classes: Timer, TimeRegion, and TimerGroup,
-// documented below.
-//
-//===----------------------------------------------------------------------===//
#ifndef LLVM_SUPPORT_TIMER_H
#define LLVM_SUPPORT_TIMER_H
@@ -78,7 +73,7 @@ public:
/// invocations of its startTimer()/stopTimer() methods. Given appropriate OS
/// support it can also keep track of the RSS of the program at various points.
/// By default, the Timer will print the amount of time it has captured to
-/// standard error when the laster timer is destroyed, otherwise it is printed
+/// standard error when the last timer is destroyed, otherwise it is printed
/// when its TimerGroup is destroyed. Timers do not print their information
/// if they are never started.
///
@@ -126,7 +121,7 @@ private:
/// The TimeRegion class is used as a helper class to call the startTimer() and
/// stopTimer() methods of the Timer class. When the object is constructed, it
-/// starts the timer specified as it's argument. When it is destroyed, it stops
+/// starts the timer specified as its argument. When it is destroyed, it stops
/// the relevant timer. This makes it easy to time a region of code.
///
class TimeRegion {