Searched refs:takeMetric (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/support/ |
D | MemoryTreeTests.cpp | 107 EXPECT_THAT(Tracer.takeMetric(MetricName, "root"), ElementsAre(7)); in TEST() 108 EXPECT_THAT(Tracer.takeMetric(MetricName, "root.leaf"), ElementsAre(1)); in TEST() 109 EXPECT_THAT(Tracer.takeMetric(MetricName, "root.detail"), ElementsAre(4)); in TEST() 110 EXPECT_THAT(Tracer.takeMetric(MetricName, "root.detail.leaf"), in TEST() 112 EXPECT_THAT(Tracer.takeMetric(MetricName, "root.detail.child"), in TEST() 114 EXPECT_THAT(Tracer.takeMetric(MetricName, "root.detail.child.leaf"), in TEST() 116 EXPECT_THAT(Tracer.takeMetric(MetricName, "root.child"), ElementsAre(2)); in TEST() 117 EXPECT_THAT(Tracer.takeMetric(MetricName, "root.child.leaf"), ElementsAre(1)); in TEST()
|
D | TestTracer.h | 36 std::vector<double> takeMetric(llvm::StringRef Metric,
|
D | TestTracer.cpp | 23 std::vector<double> TestTracer::takeMetric(llvm::StringRef Metric, in takeMetric() function in clang::clangd::trace::TestTracer
|
D | TraceTests.cpp | 141 EXPECT_THAT(Tracer.takeMetric(MetricName, OpName), SizeIs(0)); in TEST() 143 EXPECT_THAT(Tracer.takeMetric(MetricName, OpName), SizeIs(1)); in TEST()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | TUSchedulerTests.cpp | 558 EXPECT_THAT(Tracer.takeMetric("ast_access_diag", "hit"), SizeIs(0)); in TEST_F() 559 EXPECT_THAT(Tracer.takeMetric("ast_access_diag", "miss"), SizeIs(0)); in TEST_F() 566 EXPECT_THAT(Tracer.takeMetric("ast_access_diag", "hit"), SizeIs(0)); in TEST_F() 567 EXPECT_THAT(Tracer.takeMetric("ast_access_diag", "miss"), SizeIs(1)); in TEST_F() 577 EXPECT_THAT(Tracer.takeMetric("ast_access_diag", "hit"), SizeIs(0)); in TEST_F() 578 EXPECT_THAT(Tracer.takeMetric("ast_access_diag", "miss"), SizeIs(2)); in TEST_F() 588 EXPECT_THAT(Tracer.takeMetric("ast_access_diag", "hit"), SizeIs(0)); in TEST_F() 589 EXPECT_THAT(Tracer.takeMetric("ast_access_diag", "miss"), SizeIs(1)); in TEST_F() 833 EXPECT_THAT(Tracer.takeMetric("ast_access_read", "hit"), SizeIs(0)); in TEST_F() 834 EXPECT_THAT(Tracer.takeMetric("ast_access_read", "miss"), SizeIs(0)); in TEST_F() [all …]
|
D | SelectionTests.cpp | 456 EXPECT_THAT(Tracer.takeMetric("selection_recovery", "C++"), in TEST() 473 EXPECT_THAT(Tracer.takeMetric("selection_recovery", "C++"), in TEST() 499 EXPECT_THAT(Tracer.takeMetric("selection_recovery", "C++"), in TEST() 501 EXPECT_THAT(Tracer.takeMetric("selection_recovery_type", "C++"), in TEST()
|
D | ClangdLSPServerTests.cpp | 165 EXPECT_THAT(Tracer.takeMetric("lsp_latency", MethodName), testing::SizeIs(0)); in TEST_F() 168 EXPECT_THAT(Tracer.takeMetric("lsp_latency", MethodName), testing::SizeIs(1)); in TEST_F()
|
D | RenameTests.cpp | 1145 EXPECT_THAT(Tracer.takeMetric("rename_name_invalid", "Keywords"), in TEST() 1495 EXPECT_THAT(Tracer.takeMetric("rename_files"), SizeIs(0)); in TEST() 1498 EXPECT_THAT(Tracer.takeMetric("rename_files"), ElementsAre(2)); in TEST()
|