aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/Timer.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-14 18:19:29 +0000
committerDan Gohman <gohman@apple.com>2008-07-14 18:19:29 +0000
commit5e84368b26415b3bb7f3f8d9cff3e05938dd82d0 (patch)
treefcaebec3993c08eb5c03d062e330b6397cedd582 /include/llvm/Support/Timer.h
parent3fea643fb427e72907b7a40e940d7949d1d57e76 (diff)
Reapply 53476 and 53480, with a fix so that it properly updates
the BB member to the current basic block after emitting instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53567 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Timer.h')
-rw-r--r--include/llvm/Support/Timer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Support/Timer.h b/include/llvm/Support/Timer.h
index 4164ddc891..b9882a9708 100644
--- a/include/llvm/Support/Timer.h
+++ b/include/llvm/Support/Timer.h
@@ -132,6 +132,8 @@ public:
///
struct NamedRegionTimer : public TimeRegion {
explicit NamedRegionTimer(const std::string &Name);
+ explicit NamedRegionTimer(const std::string &Name,
+ const std::string &GroupName);
};