Home
last modified time | relevance | path

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

/system/extras/iotop/
Dtaskstats.cpp220 TaskStatistics delta = new_statistics; in Update() local
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()
228 delta.reclaim_delay_ns_ -= reclaim_delay_ns_; in Update()
229 delta.total_delay_ns_ -= total_delay_ns_; in Update()
[all …]
/system/vold/
DTrimTask.cpp106 static void notifyResult(const std::string& path, int64_t bytes, int64_t delta) { in notifyResult() argument
109 + " " + std::to_string(delta)); in notifyResult()
135 nsecs_t delta = systemTime(SYSTEM_TIME_BOOTTIME) - start; in run() local
137 << " in " << nanoseconds_to_milliseconds(delta) << "ms"; in run()
138 notifyResult(path, range.len, delta); in run()
/system/extras/tests/lib/testUtil/
DtestUtil.c266 struct timespec start, current, delta; in testDelay() local
277 delta = tsDelta(&start, &current); in testDelay()
278 if (ts2double(&delta) > amt) { break; } in testDelay()
281 remaining = double2ts(amt - ts2double(&delta)); in testDelay()
292 struct timespec start, current, delta; in testDelaySpin() local
302 delta = tsDelta(&start, &current); in testDelaySpin()
303 if (ts2double(&delta) > amt) { break; } in testDelaySpin()
/system/update_engine/common/
Dutils.cc956 string FormatTimeDelta(TimeDelta delta) { in FormatTimeDelta() argument
960 if (delta.ToInternalValue() < 0) { in FormatTimeDelta()
961 delta *= -1; in FormatTimeDelta()
966 unsigned days = delta.InDays(); in FormatTimeDelta()
967 delta -= TimeDelta::FromDays(days); in FormatTimeDelta()
968 unsigned hours = delta.InHours(); in FormatTimeDelta()
969 delta -= TimeDelta::FromHours(hours); in FormatTimeDelta()
970 unsigned mins = delta.InMinutes(); in FormatTimeDelta()
971 delta -= TimeDelta::FromMinutes(mins); in FormatTimeDelta()
972 unsigned secs = delta.InSeconds(); in FormatTimeDelta()
[all …]
Dutils.h309 std::string FormatTimeDelta(base::TimeDelta delta);
/system/extras/tests/wifi/stress/
DwifiLoadScanAssoc.c136 struct timeval startTime, currentTime, delta; in main() local
270 delta = tvDelta(&startTime, &currentTime); in main()
271 if (tv2double(&delta) > duration) { break; } in main()
/system/bt/osi/src/
Dalarm.c142 static void update_stat(stat_t *stat, period_ms_t delta) in update_stat() argument
144 if (stat->max_ms < delta) in update_stat()
145 stat->max_ms = delta; in update_stat()
146 stat->total_ms += delta; in update_stat()
623 period_ms_t delta = t1 - t0; in alarm_queue_ready() local
624 update_scheduling_stats(&alarm->stats, t0, deadline, delta); in alarm_queue_ready()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc90 brillo::Blob delta; member
601 EXPECT_TRUE(utils::ReadFile(state->delta_path, &state->delta)); in ApplyDeltaFile()
611 &state->delta[state->metadata_size + manifest.signatures_offset()], in ApplyDeltaFile()
737 state->delta.data(), in ApplyDeltaFile()
793 state->delta[some_offset]++; in ApplyDeltaFile()
809 for (size_t i = 0; i < state->delta.size(); i += kBytesPerWrite) { in ApplyDeltaFile()
810 size_t count = std::min(state->delta.size() - i, kBytesPerWrite); in ApplyDeltaFile()
811 bool write_succeeded = ((*performer)->Write(&state->delta[i], in ApplyDeltaFile()
857 HashCalculator::HashOfData(state->delta), in VerifyPayloadResult()
858 state->delta.size())); in VerifyPayloadResult()
/system/update_engine/
Dupdate_metadata.proto17 // Update file format: A delta update file contains all the deltas needed
56 // before the entire delta file is downloaded (but after at least the
170 // The offset into the delta file (after the protobuf)
173 // The length of the data in the delta file
265 // old_image_info will only be present for delta images.
270 // The minor version, also referred as "delta version", of the payload.
Dupdate_engine.gyp403 # server-side delta generator.
/system/core/toolbox/
Dnewfs_msdos.c415 off_t delta; in newfs_msdos_main() local
421 delta = bpb.bsec % bpb.spt; in newfs_msdos_main()
422 if (delta != 0) { in newfs_msdos_main()
424 (int)delta, bpb.bsec, bpb.spt); in newfs_msdos_main()
425 bpb.bsec -= delta; in newfs_msdos_main()
/system/bt/stack/btm/
Dbtm_sec.c1774 UINT16 delta = BTM_OOB_HASH_C_SIZE + 2; in BTM_BuildOobData() local
1775 if (max_len >= delta) in BTM_BuildOobData()
1780 len += delta; in BTM_BuildOobData()
1781 max_len -= delta; in BTM_BuildOobData()
1785 delta = BTM_OOB_RAND_R_SIZE + 2; in BTM_BuildOobData()
1786 if (max_len >= delta) in BTM_BuildOobData()
1791 len += delta; in BTM_BuildOobData()
1792 max_len -= delta; in BTM_BuildOobData()
1796 delta = BTM_OOB_COD_SIZE + 2; in BTM_BuildOobData()
1797 if (max_len >= delta) in BTM_BuildOobData()
[all …]
/system/core/libmincrypt/
Dp256_ec.c806 felem delta, gamma, alpha, beta, tmp, tmp2; in point_double() local
808 felem_square(delta, z); in point_double()
812 felem_sum(tmp, x, delta); in point_double()
813 felem_diff(tmp2, x, delta); in point_double()
820 felem_diff(z_out, tmp, delta); in point_double()
/system/keymaster/
Dauthorization_set_test.cpp256 static void add_to_uint32(uint8_t* buf, int delta) { in add_to_uint32() argument
259 val += delta; in add_to_uint32()
/system/bt/btif/src/
Dbtif_media_task.c2657 size_t delta = projected_nof - MAX_PCM_FRAME_NUM_PER_TICK; in btif_get_num_aa_frame_iteration() local
2659 btif_media_cb.stats.media_read_total_limited_frames += delta; in btif_get_num_aa_frame_iteration()
2660 if (delta > btif_media_cb.stats.media_read_max_limited_frames) in btif_get_num_aa_frame_iteration()
2661 btif_media_cb.stats.media_read_max_limited_frames = delta; in btif_get_num_aa_frame_iteration()
/system/core/init/
Dreadme.txt450 process: baseline experiment (delta)