diff options
author | Matthias Braun <matze@braunis.de> | 2016-11-18 19:43:18 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-11-18 19:43:18 +0000 |
commit | 9262f00f1af94df653a610bfc178818b16502dea (patch) | |
tree | e247aff1f9446b14ba3f35e6a1b95fd4c237e833 /unittests/Support/TimerTest.cpp | |
parent | 181c24a90c1c8f27e1cb95684be209470eb3ba34 (diff) |
Timer: Track name and description.
The previously used "names" are rather descriptions (they use multiple
words and contain spaces), use short programming language identifier
like strings for the "names" which should be used when exporting to
machine parseable formats.
Also removed a unused TimerGroup from Hexxagon.
Differential Revision: https://reviews.llvm.org/D25583
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287369 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/TimerTest.cpp')
-rw-r--r-- | unittests/Support/TimerTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Support/TimerTest.cpp b/unittests/Support/TimerTest.cpp index f556a3f72c62..082a7e35db52 100644 --- a/unittests/Support/TimerTest.cpp +++ b/unittests/Support/TimerTest.cpp @@ -33,7 +33,7 @@ void SleepMS() { } TEST(Timer, Additivity) { - Timer T1("T1"); + Timer T1("T1", "T1"); EXPECT_TRUE(T1.isInitialized()); @@ -50,7 +50,7 @@ TEST(Timer, Additivity) { } TEST(Timer, CheckIfTriggered) { - Timer T1("T1"); + Timer T1("T1", "T1"); EXPECT_FALSE(T1.hasTriggered()); T1.startTimer(); |