Home
last modified time | relevance | path

Searched refs:start_ts (Results 1 – 6 of 6) sorted by relevance

/system/core/storaged/tests/
Dstoraged_test.cpp449 .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/
Dstoraged.cpp337 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()
Dstoraged_uid_monitor.cpp237 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()
Dstoraged.proto31 optional uint64 start_ts = 1; field
Dstoraged_service.cpp147 if (last_ts != it.second.start_ts) { in dump()
148 dprintf(fd, "%" PRIu64, it.second.start_ts); in dump()
/system/core/storaged/include/
Dstoraged_uid_monitor.h75 uint64_t start_ts; member