Home
last modified time | relevance | path

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

123456

/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 …]
/external/rust/crates/tokio/src/runtime/task/
Dstate.rs13 pub(super) struct Snapshot(usize); struct
15 type UpdateResult = Result<Snapshot, Snapshot>;
109 pub(super) fn load(&self) -> Snapshot { in load() argument
110 Snapshot(self.val.load(Acquire)) in load()
183 pub(super) fn transition_to_complete(&self) -> Snapshot { in transition_to_complete() argument
186 let prev = Snapshot(self.val.fetch_xor(DELTA, AcqRel)); in transition_to_complete()
190 Snapshot(prev.0 ^ DELTA) in transition_to_complete()
198 let prev = Snapshot(self.val.fetch_sub(count * REF_ONE, AcqRel)); in transition_to_terminal()
313 let mut prev = Snapshot(0); in transition_to_shutdown()
439 let prev = Snapshot(self.val.fetch_sub(REF_ONE, AcqRel)); in ref_dec()
[all …]
/external/pigweed/pw_snapshot/
Dproto_format.rst4 Snapshot Proto Format
6 The Snapshot proto format depends on proto handling properties that directly
54 This is exactly how the Snapshot proto is set up. While a SnapshotMetadata proto
56 Snapshot message specifies field numbers and reserved field ranges to clarify
64 Some upstream Pigweed modules provide a ``Snapshot*`` message that overlays the
65 main Snapshot message. These messages share a field number with the Snapshot
67 Snapshot proto without explicitly depending on the Snapshot proto.
73 message Snapshot {
81 // This message overlays the pw.snapshot.Snapshot proto. It's valid to encode
82 // this message to the same sink that a Snapshot proto is being written to.
[all …]
Ddocs.rst30 Life of a Snapshot
38 #. **Snapshot capture triggered** - The device encounters a condition that
44 #. **Snapshot captured** - The device collects information throughout the
46 is stored as a serialized Snapshot proto message for later retrieval.
50 #. **Snapshot retrieved from device** - During normal device operation, stored
53 #. **Snapshot analyzed** - Finally, analysis tooling is run on the captured
62 section on :ref:`Setting up a Snapshot Pipeline<module-pw_snapshot-setup>` for
Dmodule_usage.rst12 Building a Snapshot
14 Even though a Snapshot is just a proto message, the potential size of the proto
39 pw::snapshot::Snapshot::StreamEncoder snapshot_encoder(
60 practical to extend the Snapshot proto.
70 pw::Snapshot::TagsEntry::StreamEncoder tags_encoder =
78 Extending the Snapshot proto relies on proto behavior details that are explained
79 in the :ref:`Snapshot Proto Format<module-pw_snapshot-proto_format>`. Extending
81 declares fields with numbers that are reserved by the Snapshot proto for
83 upstream Snapshot proto and your project's custom extension proto message to the
127 Snapshot UUID: 8481bb12a162164f5c74855f6d94ea1a
[all …]
/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()
/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/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/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/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_summary46 Snapshot 1
104 Snapshot 5
201 Snapshot 8
325 Snapshot 1
339 Snapshot 1
375 Snapshot 1
389 Snapshot 1
403 Snapshot 1
417 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/leveldb/include/leveldb/
Ddb.h29 class LEVELDB_EXPORT Snapshot {
31 virtual ~Snapshot();
102 virtual const Snapshot* GetSnapshot() = 0;
106 virtual void ReleaseSnapshot(const Snapshot* snapshot) = 0;
/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/pigweed/pw_snapshot/py/pw_snapshot/
Dprocessor.py44 ElfMatcher = Callable[[snapshot_pb2.Snapshot], Optional[Path]]
54 SymbolizerMatcher = Callable[[snapshot_pb2.Snapshot], Symbolizer]
74 snapshot = snapshot_pb2.Snapshot()
136 snapshot = snapshot_pb2.Snapshot()
156 artifacts_dir: Path, snapshot: snapshot_pb2.Snapshot argument
/external/pigweed/pw_snapshot/pw_snapshot_protos/
Dsnapshot.proto19 option java_outer_classname = "Snapshot";
27 // The Snapshot proto is a list that dictates field numbers that should
28 // be used when serializing proto messages into a "Snapshot" that can be
48 // as a pw.snapshot.Snapshot and once as the project-specific message.
49 message Snapshot { message
77 repeated Snapshot related_snapshots = 19;
/external/pigweed/pw_snapshot/py/
Dgenerate_example_snapshot.py25 def _add_threads(snapshot: snapshot_pb2.Snapshot) -> snapshot_pb2.Snapshot: argument
49 snapshot = snapshot_pb2.Snapshot()
/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/oss-fuzz/projects/etcd/
Dwal_fuzzer.go38 if err = w.SaveSnapshot(walpb.Snapshot{}); err != nil {
45 neww, err := Open(zap.NewExample(), p, walpb.Snapshot{})
/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/core/transforms/constant_folding/tests/
Dneutral_element.mlir45 // CHECK: Snapshot{{.*}} device({{.*}}) name("mul3")
47 // CHECK: Snapshot{{.*}} device({{.*}}) name("mul4")
53 // CHECK: Snapshot{{.*}} name("div1")
67 // CHECK: Snapshot{{.*}} name("add1")
69 // CHECK: Snapshot{{.*}} name("add2")
75 // CHECK: Snapshot{{.*}} name("bias_add1")
79 // CHECK: Snapshot{{.*}} name("sub1")

123456