Home
last modified time | relevance | path

Searched refs:PerfCounters (Results 1 – 10 of 10) sorted by relevance

/third_party/benchmark/test/
Dperf_counters_gtest.cc15 using benchmark::internal::PerfCounters;
27 EXPECT_EQ(PerfCounters::Initialize(), PerfCounters::kSupported); in TEST()
31 if (!PerfCounters::kSupported) { in TEST()
34 EXPECT_TRUE(PerfCounters::Initialize()); in TEST()
35 EXPECT_EQ(PerfCounters::Create({kGenericPerfEvent1}).num_counters(), 1); in TEST()
39 if (!PerfCounters::kSupported) { in TEST()
40 EXPECT_FALSE(PerfCounters::Initialize()); in TEST()
43 EXPECT_TRUE(PerfCounters::Initialize()); in TEST()
48 EXPECT_EQ(PerfCounters::Create({}).num_counters(), 0); in TEST()
49 EXPECT_EQ(PerfCounters::Create({""}).num_counters(), 0); in TEST()
[all …]
Dperf_counters_test.cc82 if (!benchmark::internal::PerfCounters::kSupported) { in main()
86 benchmark::internal::PerfCounters::Initialize(); in main()
/third_party/benchmark/src/
Dperf_counters.h65 friend class PerfCounters;
88 class BENCHMARK_EXPORT PerfCounters final {
94 static PerfCounters NoCounters() { return PerfCounters(); } in NoCounters()
96 ~PerfCounters() { CloseCounters(); } in ~PerfCounters()
97 PerfCounters() = default;
98 PerfCounters(PerfCounters&&) = default;
99 PerfCounters(const PerfCounters&) = delete;
100 PerfCounters& operator=(PerfCounters&&) noexcept;
101 PerfCounters& operator=(const PerfCounters&) = delete;
116 static PerfCounters Create(const std::vector<std::string>& counter_names);
[all …]
Dperf_counters.cc58 const bool PerfCounters::kSupported = true;
62 bool PerfCounters::Initialize() { in Initialize()
70 bool PerfCounters::IsCounterSupported(const std::string& name) { in IsCounterSupported()
83 PerfCounters PerfCounters::Create( in Create()
230 return PerfCounters(std::move(valid_names), std::move(counter_ids), in Create()
234 void PerfCounters::CloseCounters() const { in CloseCounters()
248 const bool PerfCounters::kSupported = false;
250 bool PerfCounters::Initialize() { return false; } in Initialize()
252 bool PerfCounters::IsCounterSupported(const std::string&) { return false; } in IsCounterSupported()
254 PerfCounters PerfCounters::Create( in Create()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DVulkanPerformanceCounterTest.cpp42 const rx::vk::PerfCounters &hackANGLE() const in hackANGLE()
89 void setExpectedCountersForInvalidateTest(const rx::vk::PerfCounters &counters, in setExpectedCountersForInvalidateTest()
97 rx::vk::PerfCounters *expected) in setExpectedCountersForInvalidateTest()
108 void compareDepthStencilCountersForInvalidateTest(const rx::vk::PerfCounters &counters, in compareDepthStencilCountersForInvalidateTest()
109 const rx::vk::PerfCounters &expected) in compareDepthStencilCountersForInvalidateTest()
119 void setAndIncrementLoadCountersForInvalidateTest(const rx::vk::PerfCounters &counters, in setAndIncrementLoadCountersForInvalidateTest()
122 rx::vk::PerfCounters *expected) in setAndIncrementLoadCountersForInvalidateTest()
128 void compareLoadCountersForInvalidateTest(const rx::vk::PerfCounters &counters, in compareLoadCountersForInvalidateTest()
129 const rx::vk::PerfCounters &expected) in compareLoadCountersForInvalidateTest()
135 void setExpectedCountersForUnresolveResolveTest(const rx::vk::PerfCounters &counters, in setExpectedCountersForUnresolveResolveTest()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DContextVk.h665 const vk::PerfCounters &getPerfCounters() const { return mPerfCounters; } in getPerfCounters()
666 vk::PerfCounters &getPerfCounters() { return mPerfCounters; } in getPerfCounters()
1194 vk::PerfCounters mPerfCounters;
Dvk_utils.h929 struct PerfCounters
DFramebufferVk.cpp1474 vk::PerfCounters &perfCounters = contextVk->getPerfCounters(); in resolveColorWithCommand()
Dvk_cache_utils.cpp1281 PerfCounters &counters = contextVk->getPerfCounters(); in GetRenderPassAndUpdateCounters()
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md838 * windows: add ETW and PerfCounters support (Scott Blomquist)