summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Timer.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-11 21:54:34 +0000
committerDan Gohman <gohman@apple.com>2008-07-11 21:54:34 +0000
commitdbe2a5a26925cd3ed8a4c2cf02c8273fcf9919d7 (patch)
tree2c003a265f1efaf986c7660a9c5e791722985d10 /include/llvm/Support/Timer.h
parentc418bf3dd593b5b2fe2f978930f6d0d6b17e344e (diff)
downloadllvm-dbe2a5a26925cd3ed8a4c2cf02c8273fcf9919d7.tar.gz
llvm-dbe2a5a26925cd3ed8a4c2cf02c8273fcf9919d7.tar.bz2
llvm-dbe2a5a26925cd3ed8a4c2cf02c8273fcf9919d7.tar.xz
Add support for putting NamedRegionTimers in TimerGroups, and
use a timer group for the timers in SelectionDAGISel. Also, Split scheduling out from emitting, to give each their own timer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53476 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);
};