Home
last modified time | relevance | path

Searched refs:time_utils (Results 1 – 25 of 27) sorted by relevance

12

/external/autotest/site_utils/
Ddut_status_unittest.py12 from autotest_lib.client.common_lib import time_utils
60 start_time_string = time_utils.epoch_time_to_date_string(start_time)
72 end_time_string = time_utils.epoch_time_to_date_string(end_time)
94 start_time_string = time_utils.epoch_time_to_date_string(start_time)
96 end_time_string = time_utils.epoch_time_to_date_string(end_time)
105 start_time_string = time_utils.epoch_time_to_date_string(start_time)
116 end_time_string = time_utils.epoch_time_to_date_string(end_time)
127 start_time_string = time_utils.epoch_time_to_date_string(start_time)
131 end_time_string = time_utils.epoch_time_to_date_string(end_time)
Ddiagnosis_utils.py14 from autotest_lib.client.common_lib import time_utils
235 time_utils.to_epoch_time(start_time),
236 time_utils.to_epoch_time(end_time),
253 time_utils.epoch_time_to_date_string(job.start_time))
Djob_directories.py11 from autotest_lib.client.common_lib import time_utils
36 job_time = time_utils.time_string_to_datetime(timestamp)
274 return time_utils.epoch_time_to_date_string(ts)
Ddut_status.py114 from autotest_lib.client.common_lib import time_utils
180 datestr = time_utils.epoch_time_to_date_string(
192 start_time = time_utils.epoch_time_to_date_string(
Dlxc_cleanup.py27 from autotest_lib.client.common_lib import time_utils
79 (time_utils.time_string_to_datetime(hqe.finished_on) >
Djob_directories_unittest.py17 from autotest_lib.client.common_lib import time_utils
326 return reference_time.strftime(time_utils.TIME_FMT)
/external/autotest/client/common_lib/
Dtime_utils_unittest.py13 from autotest_lib.client.common_lib import time_utils
46 parsed_seconds = time_utils.date_string_to_epoch_time(
54 time_string = time_utils.epoch_time_to_date_string(
63 time_utils.to_epoch_time(self.TIME_STRING))
66 time_utils.to_epoch_time(self.TIME_OBJ))
/external/autotest/server/lib/
Dstatus_history.py44 from autotest_lib.client.common_lib import time_utils
87 return int(time_utils.to_epoch_time(time_string))
247 query_start = time_utils.epoch_time_to_date_string(start_time)
248 query_end = time_utils.epoch_time_to_date_string(end_time)
273 query_end = time_utils.epoch_time_to_date_string(end_time)
356 query_start = time_utils.epoch_time_to_date_string(start_time)
357 query_end = time_utils.epoch_time_to_date_string(end_time)
569 query_end = time_utils.epoch_time_to_date_string(self.end_time)
678 return [task0.time_started.strftime(time_utils.TIME_FMT),
679 task1.time_finished.strftime(time_utils.TIME_FMT)]
Dsuite_report.py14 from autotest_lib.client.common_lib import time_utils
42 return int(time_utils.to_epoch_time(value))
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Datrace_process_dump.cc34 snapshot_timer_ = std::unique_ptr<time_utils::PeriodicTimer>( in SetDumpInterval()
35 new time_utils::PeriodicTimer(tick_interval_ms)); in SetDumpInterval()
42 time_utils::GetTimestamp()); in RunAndPrintJson()
80 snapshot_timestamp_ = time_utils::GetTimestamp(); in TakeGlobalSnapshot()
242 time_utils::GetTimestamp()); in TakeAndSerializeMemInfo()
Dtime_utils.h10 namespace time_utils {
DAndroid.mk22 time_utils.cc
Dtime_utils.cc14 namespace time_utils { namespace
Datrace_process_dump.h78 std::unique_ptr<time_utils::PeriodicTimer> snapshot_timer_;
Dmain.cc49 printf("%" PRIu64 "\n", time_utils::GetTimestamp()); in main()
/external/tensorflow/tensorflow/core/profiler/utils/
DBUILD95 ":time_utils",
112 name = "time_utils",
113 hdrs = ["time_utils.h"],
130 ":time_utils",
185 ":time_utils",
/external/autotest/site_utils/sponge_lib/
Dautotest_job_info.py12 from autotest_lib.client.common_lib import time_utils
150 return time_utils.to_utc_timestamp(self._test.started_time)
155 return time_utils.to_utc_timestamp(self._test.finished_time)
/external/tensorflow/tensorflow/core/profiler/convert/
DBUILD39 "//tensorflow/core/profiler/utils:time_utils",
63 "//tensorflow/core/profiler/utils:time_utils",
93 "//tensorflow/core/profiler/utils:time_utils",
115 "//tensorflow/core/profiler/utils:time_utils",
135 "//tensorflow/core/profiler/utils:time_utils",
/external/autotest/server/
Dresults_mocker.py14 from autotest_lib.client.common_lib import time_utils
146 'date': time_utils.epoch_time_to_date_string(
/external/autotest/server/cros/dynamic_suite/
Djob_status.py12 from autotest_lib.client.common_lib import time_utils
282 begin_time_str, time_utils.TIME_FMT).timetuple()))
289 end_time_str, time_utils.TIME_FMT).timetuple()))
Dsuite_common.py20 from autotest_lib.client.common_lib import time_utils
43 return datetime.datetime.now().strftime(time_utils.TIME_FMT)
Ddynamic_suite.py15 from autotest_lib.client.common_lib import time_utils
599 timestamp = datetime.datetime.now().strftime(time_utils.TIME_FMT)
/external/autotest/utils/
Dloadtest.py54 from autotest_lib.client.common_lib import time_utils
133 'start_time': time_utils.to_epoch_time(start_time),
136 entry['finish_time'] = time_utils.to_epoch_time(finish_time)
274 int(time_utils.to_epoch_time(datetime.datetime.now())))
/external/autotest/frontend/afe/
Drpc_utils.py23 from autotest_lib.client.common_lib import time_utils
618 time_utils.time_string_to_datetime(task['time_requested']))
685 t1 = time_utils.time_string_to_datetime(
687 t2 = time_utils.time_string_to_datetime(task['time_started'])
/external/autotest/site_utils/deployment/
Dinstall.py67 from autotest_lib.client.common_lib import time_utils
654 formatter = logging.Formatter(_LOG_FORMAT, time_utils.TIME_FMT)

12