Home
last modified time | relevance | path

Searched refs:Snapshot (Results 1 – 25 of 84) sorted by relevance

1234

/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DSummaryTest.java22 import io.opencensus.metrics.export.Summary.Snapshot;
23 import io.opencensus.metrics.export.Summary.Snapshot.ValueAtPercentile;
61 Snapshot snapshot = in createAndGet_Snapshot()
62 Snapshot.create( in createAndGet_Snapshot()
72 Snapshot snapshot = in createAndGet_Snapshot_WithNullCountAndSum()
73 Snapshot.create( in createAndGet_Snapshot_WithNullCountAndSum()
85 Snapshot.create(-10L, 87.07, Collections.singletonList(ValueAtPercentile.create(99.5, 10.2))); in createSnapshot_NegativeCount()
92 Snapshot.create(10L, -87.07, Collections.singletonList(ValueAtPercentile.create(99.5, 10.2))); in createSnapshot_NegativeSum()
99 Snapshot.create(0L, 87.07, Collections.singletonList(ValueAtPercentile.create(99.5, 10.2))); in createSnapshot_ZeroCountAndNonZeroSum()
106 Snapshot.create(10L, 87.07, null); in createSnapshot_NullValueAtPercentilesList()
[all …]
DValueTest.java27 import io.opencensus.metrics.export.Summary.Snapshot;
28 import io.opencensus.metrics.export.Summary.Snapshot.ValueAtPercentile;
57 Snapshot.create(
/external/rust/crates/tokio/src/runtime/task/
Dstate.rs13 pub(super) struct Snapshot(usize); struct
15 type UpdateResult = Result<Snapshot, Snapshot>;
76 pub(super) fn load(&self) -> Snapshot { in load() argument
77 Snapshot(self.val.load(Acquire)) in load()
135 pub(super) fn transition_to_complete(&self) -> Snapshot { in transition_to_complete() argument
138 let prev = Snapshot(self.val.fetch_xor(DELTA, AcqRel)); in transition_to_complete()
142 Snapshot(prev.0 ^ DELTA) in transition_to_complete()
150 pub(super) fn transition_to_terminal(&self, complete: bool, ref_dec: bool) -> Snapshot { in transition_to_terminal() argument
176 let prev = Snapshot(self.val.fetch_or(NOTIFIED, AcqRel)); in transition_to_notified()
184 let mut prev = Snapshot(0); in transition_to_shutdown()
[all …]
Dharness.rs2 use crate::runtime::task::state::Snapshot;
200 Ok(Snapshot),
353 snapshot: Snapshot, in set_join_waker() argument
354 ) -> Result<Snapshot, Snapshot> { in set_join_waker() argument
403 snapshot: Snapshot, in poll_future() argument
/external/libchrome/base/debug/
Dactivity_analyzer.h27 struct BASE_EXPORT Snapshot : ThreadActivityTracker::Snapshot { struct
28 Snapshot();
29 ~Snapshot();
33 std::vector<ActivityUserData::Snapshot> user_data_stack; argument
99 const Snapshot& activity_snapshot() { return activity_snapshot_; } in activity_snapshot()
105 Snapshot activity_snapshot_;
185 ActivityUserData::Snapshot GetUserDataSnapshot(int64_t pid,
191 const ActivityUserData::Snapshot& GetProcessDataSnapshot(int64_t pid);
222 ActivityUserData::Snapshot data;
Dactivity_analyzer.cc25 LazyInstance<ActivityUserData::Snapshot>::Leaky g_empty_user_data_snapshot;
44 ThreadActivityAnalyzer::Snapshot::Snapshot() = default;
45 ThreadActivityAnalyzer::Snapshot::~Snapshot() = default;
208 ActivityUserData::Snapshot GlobalActivityAnalyzer::GetUserDataSnapshot( in GetUserDataSnapshot()
212 ActivityUserData::Snapshot snapshot; in GetUserDataSnapshot()
235 const ActivityUserData::Snapshot&
Dactivity_analyzer_unittest.cc213 const ActivityUserData::Snapshot& data_snapshot = in TEST_F()
242 const ActivityUserData::Snapshot& data_snapshot = in TEST_F()
250 ThreadActivityAnalyzer::Snapshot tracker_snapshot; in TEST_F()
296 const ThreadActivityAnalyzer::Snapshot& analyzer_snapshot = in TEST_F()
299 const ActivityUserData::Snapshot& user_data = in TEST_F()
328 const ThreadActivityAnalyzer::Snapshot& analyzer_snapshot = in TEST_F()
331 const ActivityUserData::Snapshot& user_data = in TEST_F()
378 const ActivityUserData::Snapshot& snapshot = in TEST_F()
537 const ActivityUserData::Snapshot& pdata1 = in TEST_F()
539 const ActivityUserData::Snapshot& pdata2 = in TEST_F()
Dactivity_tracker_unittest.cc93 ActivityUserData::Snapshot&& data) { in HandleProcessExit()
107 ActivityUserData::Snapshot exit_data_;
157 ThreadActivityTracker::Snapshot snapshot; in TEST_F()
210 ThreadActivityTracker::Snapshot snapshot; in TEST_F()
295 ThreadActivityTracker::Snapshot snapshot; in TEST_F()
335 ThreadActivityTracker::Snapshot snapshot; in TEST_F()
/external/grpc-grpc/test/core/debug/
Dstats_test.cc32 class Snapshot { class
34 Snapshot() { grpc_stats_collect(&begin_); } in Snapshot() function in grpc::testing::Snapshot
50 std::unique_ptr<Snapshot> snapshot(new Snapshot); in TEST()
60 std::unique_ptr<Snapshot> snapshot(new Snapshot); in TEST()
93 std::unique_ptr<Snapshot> snapshot(new Snapshot); in TEST_P()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DPollingWatchService.java65 private final ConcurrentMap<Key, Snapshot> snapshots = new ConcurrentHashMap<>();
100 Snapshot snapshot = takeSnapshot(path); in register()
171 for (Map.Entry<Key, Snapshot> entry : snapshots.entrySet()) {
173 Snapshot previousSnapshot = entry.getValue();
177 Snapshot newSnapshot = takeSnapshot(path);
193 private Snapshot takeSnapshot(JimfsPath path) throws IOException { in takeSnapshot()
194 return new Snapshot(view.snapshotModifiedTimes(path)); in takeSnapshot()
198 private final class Snapshot { class in PollingWatchService
203 Snapshot(Map<Name, Long> modifiedTimes) { in Snapshot() method in PollingWatchService.Snapshot
211 boolean postChanges(Snapshot newState, Key key) { in postChanges()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DDiskLruCacheTest.java163 DiskLruCache.Snapshot snapshot = cache.get("k1"); in writeAndReadEntry()
176 DiskLruCache.Snapshot snapshot = cache.get("k1"); in readAndWriteEntryAcrossCacheOpenAndClose()
190 DiskLruCache.Snapshot snapshot = cache.get("k1"); in readAndWriteEntryWithoutProperClose()
241 DiskLruCache.Snapshot k1Snapshot = cache.get("k1"); in journalWithEditAndPublishAndRead()
294 DiskLruCache.Snapshot snapshot1 = cache.get("k1"); in readAndWriteOverlapsMaintainConsistency()
304 DiskLruCache.Snapshot snapshot2 = cache.get("k1"); in readAndWriteOverlapsMaintainConsistency()
486 DiskLruCache.Snapshot snapshot = cache.get("k1"); in updateExistingEntryWithTooFewValuesReusesPreviousValues()
652 DiskLruCache.Snapshot snapshot = cache.get("a"); in readingTheSameStreamMultipleTimes()
712 DiskLruCache.Snapshot snapshot = cache.get("k1"); in restoreBackupFile()
740 DiskLruCache.Snapshot snapshotA = cache.get("k1"); in journalFileIsPreferredOverBackupFile()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_client_stats.h107 struct Snapshot { struct
113 Snapshot& operator+=(const Snapshot& other) { argument
137 Snapshot GetSnapshotAndReset(); argument
174 struct Snapshot { struct
181 Snapshot& operator+=(const Snapshot& other) { argument
212 Snapshot GetSnapshotAndReset(); argument
Dxds_client_stats.cc76 XdsClusterDropStats::Snapshot XdsClusterDropStats::GetSnapshotAndReset() { in GetSnapshotAndReset()
77 Snapshot snapshot; in GetSnapshotAndReset()
133 XdsClusterLocalityStats::Snapshot
135 Snapshot snapshot = {GetAndResetCounter(&total_successful_requests_), in GetSnapshotAndReset()
/external/tensorflow/tensorflow/compiler/jit/tests/
Dopens2s_gnmt_mixed_precision.golden_summary47 Snapshot 1
103 Snapshot 5
197 Snapshot 8
315 Snapshot 1
328 Snapshot 1
360 Snapshot 1
373 Snapshot 1
386 Snapshot 1
399 Snapshot 1
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DTimeStats.cs52 public Snapshot GetSnapshot(bool reset) in GetSnapshot()
59 …var snapshot = new Snapshot(wallClock - lastWallClock, userTime - lastUserTime, privilegedTime - l… in GetSnapshot()
71 public class Snapshot class in Grpc.IntegrationTesting.TimeStats
77 …public Snapshot(TimeSpan wallClockTime, TimeSpan userProcessorTime, TimeSpan privilegedProcessorTi… in Snapshot() method in Grpc.IntegrationTesting.TimeStats.Snapshot
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/
DSummary.java50 public static Summary create(@Nullable Long count, @Nullable Double sum, Snapshot snapshot) { in create()
80 public abstract Snapshot getSnapshot(); in getSnapshot()
89 public abstract static class Snapshot { class in Summary
125 public static Snapshot create( in create()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DDiskLruCache.java423 public synchronized Snapshot get(String key) throws IOException { in get()
431 Snapshot snapshot = entry.snapshot(); in get()
715 public synchronized Iterator<Snapshot> snapshots() throws IOException { in snapshots()
717 return new Iterator<Snapshot>() { in snapshots()
722 Snapshot nextSnapshot; in snapshots()
725 Snapshot removeSnapshot; in snapshots()
736 Snapshot snapshot = entry.snapshot(); in snapshots()
746 @Override public Snapshot next() { in snapshots()
769 public final class Snapshot implements Closeable { class
775 private Snapshot(String key, long sequenceNumber, Source[] sources, long[] lengths) { in Snapshot() method in Snapshot
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DDiskLruCache.java421 public synchronized Snapshot get(String key) throws IOException { in get()
429 Snapshot snapshot = entry.snapshot(); in get()
713 public synchronized Iterator<Snapshot> snapshots() throws IOException { in snapshots()
715 return new Iterator<Snapshot>() { in snapshots()
720 Snapshot nextSnapshot; in snapshots()
723 Snapshot removeSnapshot; in snapshots()
734 Snapshot snapshot = entry.snapshot(); in snapshots()
744 @Override public Snapshot next() { in snapshots()
766 public final class Snapshot implements Closeable { class
772 private Snapshot(String key, long sequenceNumber, Source[] sources, long[] lengths) { in Snapshot() method in Snapshot
[all …]
/external/opencensus-java/contrib/dropwizard/src/main/java/io/opencensus/contrib/dropwizard/
DDropWizardMetrics.java37 import io.opencensus.metrics.export.Summary.Snapshot;
38 import io.opencensus.metrics.export.Summary.Snapshot.ValueAtPercentile;
208 com.codahale.metrics.Snapshot codahaleSnapshot, in collectSnapshotAndCount()
218 Snapshot snapshot = Snapshot.create((long) codahaleSnapshot.size(), 0.0, valueAtPercentiles); in collectSnapshotAndCount()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dreplay_test.cc48 computation.Snapshot().ConsumeValueOrDie(); in TEST_F()
81 computation.Snapshot().ConsumeValueOrDie(); in XLA_TEST_F()
128 computation.Snapshot().ConsumeValueOrDie(); in TEST_F()
/external/python/cpython3/Doc/library/
Dtracemalloc.rst73 See :meth:`Snapshot.statistics` for more options.
116 the :meth:`Snapshot.dump` method to analyze the snapshot offline. Then use the
117 :meth:`Snapshot.load` method reload the snapshot.
250 See :meth:`Snapshot.statistics` for more options.
378 :meth:`Snapshot.compare_to` and :meth:`Snapshot.statistics` methods.
408 :class:`Snapshot` instance.
503 :func:`get_traceback_limit` function and :attr:`Snapshot.traceback_limit`
525 Snapshot section in API
528 .. class:: Snapshot
530 Snapshot of traces of memory blocks allocated by Python.
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCache.java182 DiskLruCache.Snapshot snapshot; in get()
254 DiskLruCache.Snapshot snapshot = ((CacheResponseBody) cached.body()).snapshot; in update()
322 final Iterator<DiskLruCache.Snapshot> delegate = cache.snapshots(); in urls()
332 DiskLruCache.Snapshot snapshot = delegate.next(); in urls()
660 public Response response(Request request, DiskLruCache.Snapshot snapshot) { in response()
694 private final DiskLruCache.Snapshot snapshot;
699 public CacheResponseBody(final DiskLruCache.Snapshot snapshot, in CacheResponseBody()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCache.java184 DiskLruCache.Snapshot snapshot; in get()
256 DiskLruCache.Snapshot snapshot = ((CacheResponseBody) cached.body()).snapshot; in update()
324 final Iterator<DiskLruCache.Snapshot> delegate = cache.snapshots(); in urls()
334 DiskLruCache.Snapshot snapshot = delegate.next(); in urls()
662 public Response response(Request request, DiskLruCache.Snapshot snapshot) { in response()
696 private final DiskLruCache.Snapshot snapshot;
701 public CacheResponseBody(final DiskLruCache.Snapshot snapshot, in CacheResponseBody()
/external/tensorflow/tensorflow/core/protobuf/
Dsnapshot.proto35 // Metadata for a single tensor in the Snapshot Record.
42 // Metadata for all the tensors in a Snapshot Record.
/external/libabigail/tests/data/test-annotate/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi562 …leTable::AddToSnapshot(void const*, HeapProfileTable::AllocValue*, HeapProfileTable::Snapshot*) -->
570 <!-- HeapProfileTable::NonLiveSnapshot(HeapProfileTable::Snapshot*) -->
572 <!-- HeapProfileTable::ReleaseSnapshot(HeapProfileTable::Snapshot*) -->
584 <!-- HeapProfileTable::Snapshot::ReportLeaks(char const*, char const*, bool) -->
586 …<!-- HeapProfileTable::Snapshot::ReportObject(void const*, HeapProfileTable::AllocValue*, char*) -…
588 …<!-- HeapProfileTable::Snapshot::ReportCallback(void const*, HeapProfileTable::AllocValue*, HeapPr…
590 <!-- HeapProfileTable::Snapshot::ReportIndividualObjects() -->
1048Snapshot::Entry>, std::_Select1st<std::pair<HeapProfileBucket* const, HeapProfileTable::Snapshot::…
1050Snapshot::Entry>, std::_Select1st<std::pair<HeapProfileBucket* const, HeapProfileTable::Snapshot::…
1052Snapshot::Entry>, std::_Select1st<std::pair<HeapProfileBucket* const, HeapProfileTable::Snapshot::…
[all …]

1234