Home
last modified time | relevance | path

Searched refs:day_start_tp (Results 1 – 3 of 3) sorted by relevance

/system/core/storaged/include/
Dstoraged_info.h52 time_point<system_clock> day_start_tp; variable
65 day_start_tp = system_clock::now(); in storage_info_t()
66 day_start_tp -= chrono::seconds(duration_cast<chrono::seconds>( in storage_info_t()
67 day_start_tp.time_since_epoch()).count() % DAY_TO_SEC); in storage_info_t()
/system/core/storaged/
Dstoraged_info.cpp83 day_start_tp = {}; in load_perf_history_proto()
84 day_start_tp += chrono::seconds(perf_history.day_start_sec()); in load_perf_history_proto()
128 duration_cast<chrono::seconds>(day_start_tp.time_since_epoch()).count()); in refresh()
155 if (tp > day_start_tp && in update_perf_history()
156 duration_cast<chrono::seconds>(tp - day_start_tp).count() < DAY_TO_SEC) { in update_perf_history()
175 day_start_tp = tp - chrono::seconds(duration_cast<chrono::seconds>( in update_perf_history()
/system/core/storaged/tests/
Dstoraged_test.cpp384 si.day_start_tp = {}; in TEST()
421 si.day_start_tp = {}; in TEST()