Home
last modified time | relevance | path

Searched refs:snapshot2 (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/base/metrics/
Dhistogram_delta_serialization_unittest.cc48 std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST() local
49 EXPECT_EQ(2, snapshot2->GetCount(1)); in TEST()
50 EXPECT_EQ(2, snapshot2->GetCount(10)); in TEST()
51 EXPECT_EQ(2, snapshot2->GetCount(100)); in TEST()
52 EXPECT_EQ(2, snapshot2->GetCount(1000)); in TEST()
Dsparse_histogram_unittest.cc106 std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_P() local
107 EXPECT_EQ(3, snapshot2->TotalCount()); in TEST_P()
108 EXPECT_EQ(2, snapshot2->GetCount(100)); in TEST_P()
109 EXPECT_EQ(1, snapshot2->GetCount(101)); in TEST_P()
125 std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_P() local
126 EXPECT_EQ(55, snapshot2->TotalCount()); in TEST_P()
127 EXPECT_EQ(30, snapshot2->GetCount(100)); in TEST_P()
128 EXPECT_EQ(25, snapshot2->GetCount(101)); in TEST_P()
144 std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); in TEST_P() local
145 EXPECT_EQ(55, snapshot2->TotalCount()); in TEST_P()
[all …]
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcordz_handle_test.cc127 CordzSnapshot snapshot2; in TEST() local
131 EXPECT_FALSE(snapshot2.DiagnosticsHandleIsSafeToInspect(handle1)); in TEST()
132 EXPECT_TRUE(snapshot2.DiagnosticsHandleIsSafeToInspect(handle2)); in TEST()
157 auto* snapshot2 = new CordzSnapshot(); in TEST() local
160 EXPECT_THAT(DeleteQueue(), ElementsAre(snapshot2, handle, snapshot1)); in TEST()
163 EXPECT_FALSE(snapshot2->DiagnosticsHandleIsSafeToInspect(handle)); in TEST()
167 EXPECT_THAT(snapshot2->DiagnosticsGetSafeToInspectDeletedHandles(), in TEST()
171 EXPECT_THAT(DeleteQueue(), ElementsAre(snapshot2)); in TEST()
173 CordzHandle::Delete(snapshot2); in TEST()
/external/python/cpython3/Lib/test/
Dtest_tracemalloc.py70 snapshot2 = tracemalloc.Snapshot(raw_traces2, traceback_limit)
72 return (snapshot, snapshot2)
294 snapshot2 = tracemalloc.Snapshot.load(support.TESTFN)
295 self.assertEqual(snapshot2.traces, snapshot.traces)
313 snapshot2 = tracemalloc.Snapshot.load(support.TESTFN)
314 self.assertEqual(snapshot2.test_attr, "new")
369 snapshot, snapshot2 = create_snapshots()
407 snapshot, snapshot2 = create_snapshots()
434 snapshot, snapshot2 = create_snapshots()
455 snapshot, snapshot2 = create_snapshots()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DDiskLruCacheTest.java304 DiskLruCache.Snapshot snapshot2 = cache.get("k1"); in readAndWriteOverlapsMaintainConsistency() local
305 assertSnapshotValue(snapshot2, 0, "CCcc"); in readAndWriteOverlapsMaintainConsistency()
306 assertSnapshotValue(snapshot2, 1, "DDdd"); in readAndWriteOverlapsMaintainConsistency()
307 snapshot2.close(); in readAndWriteOverlapsMaintainConsistency()
/external/vulkan-validation-layers/layers/
Dobject_tracker_utils.cpp311 auto snapshot2 = object_map[kVulkanObjectTypeDevice].snapshot(); in PreCallRecordDestroyInstance() local
312 for (const auto &iit : snapshot2) { in PreCallRecordDestroyInstance()
/external/python/cpython3/Doc/library/
Dtracemalloc.rst87 snapshot2 = tracemalloc.take_snapshot()
89 top_stats = snapshot2.compare_to(snapshot1, 'lineno')