/system/extras/iotop/ |
D | taskstats.cpp | 218 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/ |
D | timeInState.c | 62 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/ |
D | testUtil.c | 264 struct timespec start, current, delta; in testDelay() local 275 delta = tsDelta(&start, ¤t); 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, ¤t); in testDelaySpin() 301 if (ts2double(&delta) > amt) { break; } in testDelaySpin()
|
/system/extras/perf_tools/ |
D | sbtpull.py | 20 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/ |
D | generate_payloads.sh | 47 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/ |
D | basic_sensor_tests.cc | 34 static void checkTimestampDelta(uint32_t delta, size_t index) { in checkTimestampDelta() argument 39 if (delta == 0) { in checkTimestampDelta()
|
/system/core/libutils/include/utils/ |
D | Flattenable.h | 56 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/ |
D | utils.cc | 777 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/ |
D | delta_performer_integration_test.cc | 84 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/ |
D | BufferedTextOutput.h | 41 virtual void moveIndent(int delta);
|
D | BufferedTextOutput.cpp | 209 void BufferedTextOutput::moveIndent(int delta) in moveIndent() argument 213 b->indent += delta; in moveIndent()
|
D | TextOutput.h | 38 virtual void moveIndent(int delta) = 0;
|
/system/extras/boottime_tools/bootanalyze/ |
D | bugreport_anayze.py | 77 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/ |
D | ioblame.py | 321 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)
|
D | ioblame.sh | 501 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/ |
D | Statistics.h | 280 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/ |
D | ioshark_bench.c | 131 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()
|
D | README | 63 /* delta us between previous file op and this */
|
/system/update_engine/update_engine/ |
D | update_metadata.proto | 19 // 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/ |
D | update_metadata.proto | 19 // 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.
|
D | README.md | 168 * 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/ |
D | chre_cross_validation_sensor.proto | 87 * absolute timestamp instead of the delta relative to the last sample.
|
/system/update_engine/payload_generator/ |
D | payload_file.cc | 357 DeltaObject delta( in ReportPayloadUsage() local 359 object_counts[delta]++; in ReportPayloadUsage()
|
/system/chre/platform/slpi/see/ |
D | see_helper.cc | 900 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/ |
D | authorization_set_test.cpp | 272 static void add_to_uint32(uint8_t* buf, int delta) { in add_to_uint32() argument 275 val += delta; in add_to_uint32()
|