Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 25 of 36) sorted by relevance

12

/system/extras/iotop/
Dtaskstats.cpp226 TaskStatistics delta = new_statistics; in Update() local
227 delta.minflt_ -= minflt_; in Update()
228 delta.majflt_ -= majflt_; in Update()
229 delta.cpu_delay_count_ -= cpu_delay_count_; in Update()
230 delta.cpu_delay_ns_ -= cpu_delay_ns_; in Update()
231 delta.block_io_delay_count_ -= block_io_delay_count_; in Update()
232 delta.block_io_delay_ns_ -= block_io_delay_ns_; in Update()
233 delta.swap_in_delay_count_ -= swap_in_delay_count_; in Update()
234 delta.swap_in_delay_ns_ -= swap_in_delay_ns_; in Update()
235 delta.reclaim_delay_count_ -= reclaim_delay_count_; in Update()
[all …]
/system/core/adb/fdevent/
Dfdevent_test.cpp244 static constexpr auto delta = 100ms; in TEST_F() local
275 fdevent_set_timeout(test.fde, delta); in TEST_F()
281 std::this_thread::sleep_for(delta); in TEST_F()
284 std::this_thread::sleep_for(delta); in TEST_F()
287 std::this_thread::sleep_for(delta / 2); in TEST_F()
307 delta.count(), in TEST_F()
308 delta.count(), in TEST_F()
309 delta.count() / 2, in TEST_F()
318 ASSERT_LT(diff[0], delta.count() * 0.5); in TEST_F()
319 ASSERT_LT(diff[1], delta.count() * 0.5); in TEST_F()
[all …]
/system/extras/tests/lib/testUtil/
DtestUtil.c263 struct timespec start, current, delta; in testDelay() local
274 delta = tsDelta(&start, &current); in testDelay()
275 if (ts2double(&delta) > amt) { break; } in testDelay()
278 remaining = double2ts(amt - ts2double(&delta)); in testDelay()
289 struct timespec start, current, delta; in testDelaySpin() local
299 delta = tsDelta(&start, &current); in testDelaySpin()
300 if (ts2double(&delta) > amt) { break; } in testDelaySpin()
/system/media/audio_utils/include/audio_utils/
DBiquadFilter.h61 float delta = std::numeric_limits<float>::min() * (1 << 24); in biquad_filter_fast() local
73 const float xn = *input + delta; in biquad_filter_fast()
87 delta = -delta; in biquad_filter_fast()
DStatistics.h278 const D delta = value - mMean;
288 D meanDelta = delta / mWeight;
290 mM2 = mAlpha * mM2 + PRODUCT()(delta, (value - mMean));
836 const double delta = value - stats->mean;
837 stats->mean += delta / stats->n;
/system/bpfprogs/
Dtime_in_state.c101 uint64_t delta = time - old_last; variable
102 if (val) val->ar[freq_idx % FREQS_PER_ENTRY] += delta;
111 if (ct) ct->active[nactive % CPUS_PER_ENTRY] += delta;
122 if (ct) ct->policy[policy_nactive % CPUS_PER_ENTRY] += delta;
/system/update_engine/common/
Dutils.cc713 string FormatTimeDelta(TimeDelta delta) { in FormatTimeDelta() argument
717 if (delta.ToInternalValue() < 0) { in FormatTimeDelta()
718 delta *= -1; in FormatTimeDelta()
723 unsigned days = delta.InDays(); in FormatTimeDelta()
724 delta -= TimeDelta::FromDays(days); in FormatTimeDelta()
725 unsigned hours = delta.InHours(); in FormatTimeDelta()
726 delta -= TimeDelta::FromHours(hours); in FormatTimeDelta()
727 unsigned mins = delta.InMinutes(); in FormatTimeDelta()
728 delta -= TimeDelta::FromMinutes(mins); in FormatTimeDelta()
729 unsigned secs = delta.InSeconds(); in FormatTimeDelta()
[all …]
/system/chre/apps/chqts/src/general_test/
Dbasic_sensor_tests.cc32 static void checkTimestampDelta(uint32_t delta, size_t index) { in checkTimestampDelta() argument
37 if (delta == 0) { in checkTimestampDelta()
/system/core/libutils/include/utils/
DFlattenable.h58 size_t delta = size_t(uintptr_t(buffer) - uintptr_t(b)); in align() local
59 memset(b, 0, delta); in align()
60 return delta; in align()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc100 brillo::Blob delta; member
629 EXPECT_TRUE(utils::ReadFile(state->delta_path, &state->delta)); in ApplyDeltaFile()
631 EXPECT_TRUE(payload_metadata.ParsePayloadHeader(state->delta)); in ApplyDeltaFile()
639 EXPECT_TRUE(payload_metadata.GetManifest(state->delta, &manifest)); in ApplyDeltaFile()
648 &state->delta[state->metadata_size + state->metadata_signature_size + in ApplyDeltaFile()
759 install_plan->payloads = {{.size = state->delta.size(), in ApplyDeltaFile()
776 state->delta.data(), in ApplyDeltaFile()
824 state->delta[some_offset]++; in ApplyDeltaFile()
840 for (size_t i = 0; i < state->delta.size(); i += kBytesPerWrite) { in ApplyDeltaFile()
841 size_t count = std::min(state->delta.size() - i, kBytesPerWrite); in ApplyDeltaFile()
[all …]
/system/libhwbinder/
DBufferedTextOutput.h41 virtual void moveIndent(int delta);
DBufferedTextOutput.cpp226 void BufferedTextOutput::moveIndent(int delta) in moveIndent() argument
230 b->indent += delta; in moveIndent()
DTextOutput.h38 virtual void moveIndent(int delta) = 0;
/system/update_engine/scripts/
Dtest_paycheck.sh137 check_payload "${delta_payload}" delta
/system/extras/boottime_tools/bootanalyze/
Dbugreport_anayze.py77 def reset_events_time(self, delta): argument
80 new_events[entry[0]] = entry[1] - delta
85 new_crash[entry[0] - delta] = entry[1]
90 new_crash[entry[0] - delta] = entry[1]
/system/core/adb/daemon/
Dabb.cpp39 void moveIndent(int delta) override { /*not implemented*/ in moveIndent() argument
/system/update_engine/
Dupdate_metadata.proto19 // can update from any version, or a delta payload which can only update
61 // before the entire delta file is downloaded (but after at least the
195 // The offset into the delta file (after the protobuf)
198 // The length of the data in the delta file
347 // old_image_info will only be present for delta images.
352 // The minor version, also referred as "delta version", of the payload.
353 // Minor version 0 is full payload, everything else is delta payload.
DREADME.md133 * If it fails to apply a delta payload (due to bit changes on the active
292 quite large in size. A delta payload, on the other hand, is a differential
296 updating the system using the delta payloads requires the system to read parts
298 reconstruct the target partition). The delta payloads are significantly smaller
309 in comparison to delta payloads hence require longer download time if the
317 appropriate partition). The reason we can generate delta payloads is that Chrome
321 delta payload is roughly as follows:
367 does not know how to handle a `PUFFDIFF` operation. So when generating a delta
549 At each release cycle we should be able to generate full and delta payloads that
/system/update_engine/update_engine/
Dupdate_metadata.proto19 // can update from any version, or a delta payload which can only update
61 // before the entire delta file is downloaded (but after at least the
195 // The offset into the delta file (after the protobuf)
198 // The length of the data in the delta file
347 // old_image_info will only be present for delta images.
352 // The minor version, also referred as "delta version", of the payload.
353 // Minor version 0 is full payload, everything else is delta payload.
/system/bt/stack/a2dp/
Da2dp_sbc_encoder.cc468 size_t delta = projected_nof - MAX_PCM_FRAME_NUM_PER_TICK; in a2dp_sbc_get_num_frame_iteration() local
469 a2dp_sbc_encoder_cb.stats.media_read_total_dropped_frames += delta; in a2dp_sbc_get_num_frame_iteration()
513 size_t delta = projected_nof - MAX_PCM_FRAME_NUM_PER_TICK; in a2dp_sbc_get_num_frame_iteration() local
514 a2dp_sbc_encoder_cb.stats.media_read_total_dropped_frames += delta; in a2dp_sbc_get_num_frame_iteration()
/system/extras/ioblame/
Dioblame.sh501 echo f2fs GC_KB delta = $F2FS_GC_KB_DELTA
518 echo f2fs GC_KB delta = $F2FS_GC_KB_DELTA
/system/extras/ioshark/
Dioshark_bench.c131 update_byte_counts(struct rw_bytes_s *dest, struct rw_bytes_s *delta) in update_byte_counts() argument
134 dest->bytes_read += delta->bytes_read; in update_byte_counts()
135 dest->bytes_written += delta->bytes_written; in update_byte_counts()
DREADME63 /* delta us between previous file op and this */
/system/update_engine/payload_generator/
Dpayload_file.cc317 DeltaObject delta( in ReportPayloadUsage() local
319 object_counts[delta]++; in ReportPayloadUsage()
/system/netd/server/
DClatdController.cpp191 uint16_t delta = ip_checksum_adjust(middlebytes, c1, c2); in makeChecksumNeutral() local
192 v6->s6_addr[11] = delta >> 8; in makeChecksumNeutral()
193 v6->s6_addr[12] = delta & 0xff; in makeChecksumNeutral()

12