[Lldb-commits] [PATCH] D61235: Add more information to the log timer dump
António Afonso via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sun Apr 28 20:21:20 PDT 2019
aadsm marked an inline comment as done.
aadsm added inline comments.
================
Comment at: lldb/unittests/Utility/TimerTest.cpp:100-101
+ << "String: " << ss.GetData();
+ EXPECT_GT(total1 - child1, seconds1 - 0.001);
+ EXPECT_LT(total1 - child1, seconds1 + 0.001);
+ EXPECT_EQ(1, count1);
----------------
davide wrote:
> this seems ... very fragile.
that's a good point. I'm not that familiar with the ieee754 to know what's a safe interval here, do you know?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61235/new/
https://reviews.llvm.org/D61235
More information about the lldb-commits
mailing list