Searched refs:end_ts (Results 1 – 4 of 4) sorted by relevance
337 struct timespec start_ts, end_ts; in event_checked() local349 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end_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()
36 optional uint64 end_ts = 1; field
411 const uint64_t& end_ts = item.first; in update_uid_io_proto() local423 item_proto->set_end_ts(end_ts); in update_uid_io_proto()478 struct uid_records* recs = &io_history_[item_proto.end_ts()]; in load_uid_io_proto()
496 EXPECT_EQ(user_0_item_0.end_ts(), 200UL); in TEST()506 EXPECT_EQ(user_0_item_1.end_ts(), 300UL); in TEST()515 EXPECT_EQ(user_1_item_0.end_ts(), 200UL); in TEST()523 EXPECT_EQ(user_1_item_1.end_ts(), 300UL); in TEST()