Searched refs:start_ts (Results 1 – 6 of 6) sorted by relevance
/system/core/storaged/tests/ |
D | storaged_test.cpp | 449 .start_ts = 100, in TEST() 471 .start_ts = 200, in TEST() 497 EXPECT_EQ(user_0_item_0.records().start_ts(), 100UL); in TEST() 507 EXPECT_EQ(user_0_item_1.records().start_ts(), 200UL); in TEST() 516 EXPECT_EQ(user_1_item_0.records().start_ts(), 100UL); in TEST() 524 EXPECT_EQ(user_1_item_1.records().start_ts(), 200UL); in TEST() 533 .start_ts = 200, in TEST() 544 .start_ts = 300, in TEST() 562 EXPECT_EQ(io_history[200].start_ts, 100UL); in TEST() 576 EXPECT_EQ(io_history[300].start_ts, 200UL); in TEST() [all …]
|
/system/core/storaged/ |
D | storaged.cpp | 337 struct timespec start_ts, end_ts; in event_checked() local 341 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &start_ts) < 0) { in event_checked() 353 int64_t cost = (end_ts.tv_sec - start_ts.tv_sec) * SEC_TO_USEC + in event_checked() 354 (end_ts.tv_nsec - start_ts.tv_nsec) / USEC_TO_NSEC; in event_checked()
|
D | storaged_uid_monitor.cpp | 237 new_records.start_ts = start_ts_; in add_records_locked() 295 filtered.start_ts = it->second.start_ts; in dump() 426 recs_proto->set_start_ts(recs.start_ts); in update_uid_io_proto() 491 recs->start_ts = records_proto.start_ts(); in load_uid_io_proto()
|
D | storaged.proto | 31 optional uint64 start_ts = 1; field
|
D | storaged_service.cpp | 147 if (last_ts != it.second.start_ts) { in dump() 148 dprintf(fd, "%" PRIu64, it.second.start_ts); in dump()
|
/system/core/storaged/include/ |
D | storaged_uid_monitor.h | 75 uint64_t start_ts; member
|