OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:io_history
(Results
1 - 3
of
3
) sorted by null
/system/core/storaged/
storaged_uid_monitor.cpp
221
auto it =
io_history
.lower_bound(curr_ts - 5 * DAY_TO_SEC);
222
io_history
.erase(
io_history
.begin(), it);
248
ssize_t overflow = history_size(
io_history
) +
250
while (overflow > 0 &&
io_history
.size() > 0) {
251
auto del_it =
io_history
.begin();
253
io_history
.erase(
io_history
.begin());
256
io_history
[curr_ts] = new_records;
275
for (auto it =
io_history
.lower_bound(first_ts); it != io_history.end(); ++it)
[
all
...]
/system/core/storaged/tests/
storaged_test.cpp
447
uidm.
io_history
[200] = {
469
uidm.
io_history
[300] = {
529
uidm.
io_history
.clear();
531
uidm.
io_history
[300] = {
542
uidm.
io_history
[400] = {
556
EXPECT_EQ(uidm.
io_history
.size(), 3UL);
557
EXPECT_EQ(uidm.
io_history
.count(200), 1UL);
558
EXPECT_EQ(uidm.
io_history
.count(300), 1UL);
559
EXPECT_EQ(uidm.
io_history
.count(400), 1UL);
561
EXPECT_EQ(uidm.
io_history
[200].start_ts, 100UL)
[
all
...]
/system/core/storaged/include/
storaged_uid_monitor.h
87
map<uint64_t, struct uid_records>
io_history
;
member in class:uid_monitor
103
// writes
io_history
to protobuf
120
// restores
io_history
from protobuf
Completed in 653 milliseconds