Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 25 of 33) 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/bpfprogs/
DtimeInState.c62 static inline __always_inline void update_uid(uint32_t uid, uint64_t delta, uint64_t time, in update_uid() argument
72 if (val) val->ar[freq_idx % FREQS_PER_ENTRY] += delta; in update_uid()
81 if (ct) ct->active[active % CPUS_PER_ENTRY] += delta; in update_uid()
92 if (ct) ct->policy[policy_active % CPUS_PER_ENTRY] += delta; in update_uid()
159 uint64_t delta = time - old_last; variable
168 update_uid(uid, delta, time, freq_idx, nactive, policy_nactive);
169 update_uid(AID_SDK_SANDBOX, delta, time, freq_idx, nactive, policy_nactive);
171 update_uid(uid, delta, time, freq_idx, nactive, policy_nactive);
178 if (total) *total += delta;
216 if (task_val) task_val->ar[freq_idx % FREQS_PER_ENTRY] += delta;
/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/extras/perf_tools/
Dsbtpull.py20 self.delta = 0
31 self.delta = self.timeStamp - priorTimeStamp
42 …, D, {: .4f}, DD, ({: .4f}) {}".format(self.lineNum, self.timeStamp, self.delta, self.deltaDiff, s…
45 …, D, {: .4f}, DD, ({: .4f}) {}".format(self.lineNum, self.timeStamp, self.delta, self.deltaDiff, s…
48 return item.delta
99 sumDelta += item.delta
139 def filter(self, startKeyWord, endKeyWord, delta=0): argument
146 item.delta = 0
147 if ((item.delta > delta) or ((item.timeStamp == startTime))):
183 thisItem.deltaDiff = otherItem.delta - item.delta
[all …]
/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/chre/apps/test/chqts/src/general_test/
Dbasic_sensor_tests.cc34 static void checkTimestampDelta(uint32_t delta, size_t index) { in checkTimestampDelta() argument
39 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/update_engine/common/
Dutils.cc777 string FormatTimeDelta(TimeDelta delta) { in FormatTimeDelta() argument
781 if (delta.ToInternalValue() < 0) { in FormatTimeDelta()
782 delta *= -1; in FormatTimeDelta()
787 unsigned days = delta.InDays(); in FormatTimeDelta()
788 delta -= TimeDelta::FromDays(days); in FormatTimeDelta()
789 unsigned hours = delta.InHours(); in FormatTimeDelta()
790 delta -= TimeDelta::FromHours(hours); in FormatTimeDelta()
791 unsigned mins = delta.InMinutes(); in FormatTimeDelta()
792 delta -= TimeDelta::FromMinutes(mins); in FormatTimeDelta()
793 unsigned secs = delta.InSeconds(); in FormatTimeDelta()
[all …]
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc84 brillo::Blob delta; member
638 ASSERT_TRUE(utils::ReadFile(state->delta_file->path(), &state->delta)); in ApplyDeltaFile()
640 ASSERT_TRUE(payload_metadata.ParsePayloadHeader(state->delta)); in ApplyDeltaFile()
643 LOG(INFO) << "Payload size: " << state->delta.size(); in ApplyDeltaFile()
649 ASSERT_TRUE(payload_metadata.GetManifest(state->delta, &manifest)); in ApplyDeltaFile()
658 &state->delta[state->metadata_size + state->metadata_signature_size + in ApplyDeltaFile()
771 install_plan->payloads = {{.size = state->delta.size(), in ApplyDeltaFile()
788 state->delta.data(), in ApplyDeltaFile()
839 state->delta[some_offset]++; in ApplyDeltaFile()
855 for (size_t i = 0; i < state->delta.size(); i += kBytesPerWrite) { in ApplyDeltaFile()
[all …]
/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/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/extras/ioblame/
Dioblame.py321 def delta(self, other): member in DiskStats
390 def delta(self, other): member in UidIoStats
479 diskStatsDelta = diskStatsAfter.delta(diskStatsBefore)
480 uidIoStatsDelta = uidIoStatsAfter.delta(uidIoStatsBefore)
Dioblame.sh501 echo f2fs GC_KB delta = $F2FS_GC_KB_DELTA
518 echo f2fs GC_KB delta = $F2FS_GC_KB_DELTA
/system/media/audio_utils/include/audio_utils/
DStatistics.h280 const D delta = value - mMean;
290 D meanDelta = delta / mWeight;
292 mM2 = mAlpha * mM2 + PRODUCT()(delta, (value - mMean));
838 const double delta = value - stats->mean;
839 stats->mean += delta / stats->n;
/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/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
182 // The offset into the delta file (after the protobuf)
185 // The length of the data in the delta file
408 // The minor version, also referred as "delta version", of the payload.
409 // Minor version 0 is full payload, everything else is delta payload.
/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
182 // The offset into the delta file (after the protobuf)
185 // The length of the data in the delta file
408 // The minor version, also referred as "delta version", of the payload.
409 // Minor version 0 is full payload, everything else is delta payload.
DREADME.md168 * If it fails to apply a delta payload (due to bit changes on the active
261 quite large in size. A delta payload, on the other hand, is a differential
265 updating the system using the delta payloads requires the system to read parts
267 reconstruct the target partition). The delta payloads are significantly smaller
278 in comparison to delta payloads hence require longer download time if the
286 appropriate partition). The reason we can generate delta payloads is that Chrome
290 delta payload is roughly as follows:
336 does not know how to handle a `PUFFDIFF` operation. So when generating a delta
424 At each release cycle we should be able to generate full and delta payloads that
/system/chre/apps/test/common/proto/
Dchre_cross_validation_sensor.proto87 * absolute timestamp instead of the delta relative to the last sample.
/system/update_engine/payload_generator/
Dpayload_file.cc357 DeltaObject delta( in ReportPayloadUsage() local
359 object_counts[delta]++; in ReportPayloadUsage()
/system/chre/platform/slpi/see/
Dsee_helper.cc900 uint64_t delta = data->timeNs - data->prevTimeNs; in populateEventSample() local
901 if (delta > UINT32_MAX) { in populateEventSample()
906 delta = UINT32_MAX; in populateEventSample()
908 *timestampDelta = static_cast<uint32_t>(delta); in populateEventSample()
/system/keymaster/tests/
Dauthorization_set_test.cpp272 static void add_to_uint32(uint8_t* buf, int delta) { in add_to_uint32() argument
275 val += delta; in add_to_uint32()

12