Home
last modified time | relevance | path

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

12

/system/extras/iotop/
Dtaskstats.cpp218 TaskStatistics delta = new_statistics; in Update() local
219 delta.minflt_ -= minflt_; in Update()
220 delta.majflt_ -= majflt_; in Update()
221 delta.cpu_delay_count_ -= cpu_delay_count_; in Update()
222 delta.cpu_delay_ns_ -= cpu_delay_ns_; in Update()
223 delta.block_io_delay_count_ -= block_io_delay_count_; in Update()
224 delta.block_io_delay_ns_ -= block_io_delay_ns_; in Update()
225 delta.swap_in_delay_count_ -= swap_in_delay_count_; in Update()
226 delta.swap_in_delay_ns_ -= swap_in_delay_ns_; in Update()
227 delta.reclaim_delay_count_ -= reclaim_delay_count_; in Update()
[all …]
/system/extras/tests/lib/testUtil/
DtestUtil.c264 struct timespec start, current, delta; in testDelay() local
275 delta = tsDelta(&start, &current); in testDelay()
276 if (ts2double(&delta) > amt) { break; } in testDelay()
279 remaining = double2ts(amt - ts2double(&delta)); in testDelay()
290 struct timespec start, current, delta; in testDelaySpin() local
300 delta = tsDelta(&start, &current); in testDelaySpin()
301 if (ts2double(&delta) > amt) { break; } in testDelaySpin()
/system/update_engine/sample_images/
Dgenerate_payloads.sh47 tar -cJf sample_payloads.tar.xz {delta,full}_payload.bin
49 rm -rf "${TEMP_IMG_DIR}" {delta,full}_payload.bin
/system/bpfprogs/
Dtime_in_state.c110 uint64_t delta = time - old_last; variable
111 if (val) val->ar[freq_idx % FREQS_PER_ENTRY] += delta;
117 if (total) *total += delta;
155 if (task_val) task_val->ar[freq_idx % FREQS_PER_ENTRY] += delta;
164 if (ct) ct->active[nactive % CPUS_PER_ENTRY] += delta;
175 if (ct) ct->policy[policy_nactive % CPUS_PER_ENTRY] += delta;
/system/update_engine/common/
Dutils.cc722 string FormatTimeDelta(TimeDelta delta) { in FormatTimeDelta() argument
726 if (delta.ToInternalValue() < 0) { in FormatTimeDelta()
727 delta *= -1; in FormatTimeDelta()
732 unsigned days = delta.InDays(); in FormatTimeDelta()
733 delta -= TimeDelta::FromDays(days); in FormatTimeDelta()
734 unsigned hours = delta.InHours(); in FormatTimeDelta()
735 delta -= TimeDelta::FromHours(hours); in FormatTimeDelta()
736 unsigned mins = delta.InMinutes(); in FormatTimeDelta()
737 delta -= TimeDelta::FromMinutes(mins); in FormatTimeDelta()
738 unsigned secs = delta.InSeconds(); in FormatTimeDelta()
[all …]
Dutils.h268 std::string FormatTimeDelta(base::TimeDelta delta);
/system/chre/apps/test/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.h56 size_t delta = size_t(uintptr_t(buffer) - uintptr_t(b)); in align() local
57 memset(b, 0, delta); in align()
58 return delta; in align()
/system/libhwbinder/
DBufferedTextOutput.h41 virtual void moveIndent(int delta);
DBufferedTextOutput.cpp209 void BufferedTextOutput::moveIndent(int delta) in moveIndent() argument
213 b->indent += delta; in moveIndent()
DTextOutput.h38 virtual void moveIndent(int delta) = 0;
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc91 brillo::Blob delta; member
646 EXPECT_TRUE(utils::ReadFile(state->delta_file->path(), &state->delta)); in ApplyDeltaFile()
648 EXPECT_TRUE(payload_metadata.ParsePayloadHeader(state->delta)); in ApplyDeltaFile()
656 EXPECT_TRUE(payload_metadata.GetManifest(state->delta, &manifest)); in ApplyDeltaFile()
665 &state->delta[state->metadata_size + state->metadata_signature_size + in ApplyDeltaFile()
778 install_plan->payloads = {{.size = state->delta.size(), in ApplyDeltaFile()
795 state->delta.data(), in ApplyDeltaFile()
846 state->delta[some_offset]++; in ApplyDeltaFile()
862 for (size_t i = 0; i < state->delta.size(); i += kBytesPerWrite) { in ApplyDeltaFile()
863 size_t count = std::min(state->delta.size() - i, kBytesPerWrite); in ApplyDeltaFile()
[all …]
/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/media/audio_utils/include/audio_utils/
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;
DBiquadFilter.h116 D delta = std::numeric_limits<float>::min() * (1 << 24); in biquad_filter_1fast() local
146 const D xn = *input + delta; in biquad_filter_1fast()
160 delta = -delta; in biquad_filter_1fast()
/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
408 // old_image_info will only be present for delta images.
413 // The minor version, also referred as "delta version", of the payload.
414 // 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
408 // old_image_info will only be present for delta images.
413 // The minor version, also referred as "delta version", of the payload.
414 // Minor version 0 is full payload, everything else is delta payload.
/system/bt/stack/a2dp/
Da2dp_sbc_encoder.cc452 size_t delta = projected_nof - MAX_PCM_FRAME_NUM_PER_TICK; in a2dp_sbc_get_num_frame_iteration() local
453 a2dp_sbc_encoder_cb.stats.media_read_total_dropped_frames += delta; in a2dp_sbc_get_num_frame_iteration()
497 size_t delta = projected_nof - MAX_PCM_FRAME_NUM_PER_TICK; in a2dp_sbc_get_num_frame_iteration() local
498 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/chre/apps/test/common/proto/
Dchre_cross_validation_sensor.proto83 * absolute timestamp instead of the delta relative to the last sample.
/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.cc338 DeltaObject delta( in ReportPayloadUsage() local
340 object_counts[delta]++; in ReportPayloadUsage()
/system/netd/server/
DClatdController.cpp163 uint16_t delta = ip_checksum_adjust(middlebytes, c1, c2); in makeChecksumNeutral() local
164 v6->s6_addr[11] = delta >> 8; in makeChecksumNeutral()
165 v6->s6_addr[12] = delta & 0xff; in makeChecksumNeutral()

12