Home
last modified time | relevance | path

Searched refs:FormatTime (Results 1 – 14 of 14) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dtime_test.cc170 EXPECT_EQ("0001-01-01T00:00:00Z", FormatTime(start_time, 0)); in TEST()
171 EXPECT_EQ("9999-12-31T23:59:59Z", FormatTime(end_time, 0)); in TEST()
174 EXPECT_EQ("1970-01-01T00:00:00.010Z", FormatTime(0, 10000000)); in TEST()
175 EXPECT_EQ("1970-01-01T00:00:00.000010Z", FormatTime(0, 10000)); in TEST()
176 EXPECT_EQ("1970-01-01T00:00:00.000000010Z", FormatTime(0, 10)); in TEST()
183 EXPECT_EQ("0001-01-01T00:00:00Z", FormatTime(seconds, nanos)); in TEST()
185 EXPECT_EQ("9999-12-31T23:59:59.999999999Z", FormatTime(seconds, nanos)); in TEST()
189 EXPECT_EQ("1970-01-01T08:00:00Z", FormatTime(seconds, nanos)); in TEST()
191 EXPECT_EQ("1969-12-31T16:00:00Z", FormatTime(seconds, nanos)); in TEST()
195 EXPECT_EQ("1970-01-01T00:00:00.010Z", FormatTime(seconds, nanos)); in TEST()
[all …]
Dtime.h66 string LIBPROTOBUF_EXPORT FormatTime(int64 seconds, int32 nanos);
Dtime.cc271 string FormatTime(int64 seconds, int32 nanos) { in FormatTime() function
/external/tensorflow/tensorflow/core/profiler/internal/advisor/
Dexpensive_operation_checker.h64 FormatTime(node->cpu_exec_micros()).c_str(), in CheckOpView()
65 FormatTime(node->accelerator_exec_micros()).c_str(), in CheckOpView()
66 FormatTime(node->exec_micros()).c_str(), in CheckOpView()
107 node.name().c_str(), FormatTime(node.cpu_exec_micros()).c_str(), in CheckScopeView()
108 FormatTime(node.accelerator_exec_micros()).c_str(), in CheckScopeView()
109 FormatTime(node.exec_micros()).c_str())); in CheckScopeView()
127 FormatTime(c->total_cpu_exec_micros()).c_str(), in CodeViewHelper()
128 FormatTime(c->total_accelerator_exec_micros()).c_str(), in CodeViewHelper()
129 FormatTime(c->total_exec_micros()).c_str())); in CodeViewHelper()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_show.h126 string time = FormatTime(node->proto().total_exec_micros()); in FormatTotalExecTime()
128 time = FormatTime(node->proto().exec_micros()) + "/" + time; in FormatTotalExecTime()
136 string time = FormatTime(node->proto().total_cpu_exec_micros()); in FormatCPUExecTime()
138 time = FormatTime(node->proto().cpu_exec_micros()) + "/" + time; in FormatCPUExecTime()
146 string time = FormatTime(node->proto().total_accelerator_exec_micros()); in FormatAcceleratorExecTime()
148 time = FormatTime(node->proto().accelerator_exec_micros()) + "/" + time; in FormatAcceleratorExecTime()
Dtfprof_op.cc43 FormatTime(node->proto().exec_micros()).c_str(), in FormatToalExecTime()
60 FormatTime(node->proto().cpu_exec_micros()).c_str(), in FormatCPUExecTime()
78 FormatTime(node->proto().accelerator_exec_micros()).c_str(), in FormatAcceleratorExecTime()
Dtfprof_utils.h32 string FormatTime(int64 micros);
Dtfprof_show_multi.cc216 std::get<1>(t), std::get<0>(t), FormatTime(std::get<2>(t)).c_str())); in FormatInputShapes()
Dtfprof_utils.cc44 string FormatTime(int64 micros) { in FormatTime() function
/external/v8/tools/testrunner/local/
Dverbose.py87 def FormatTime(d): function
96 sys.stderr.write("--- Total time: %s ---\n" % FormatTime(overall_time))
102 t = FormatTime(duration)
/external/google-benchmark/src/
Dconsole_reporter.cc101 static std::string FormatTime(double time) { in FormatTime() function
134 const std::string real_time_str = FormatTime(real_time); in PrintRunData()
135 const std::string cpu_time_str = FormatTime(cpu_time); in PrintRunData()
/external/libcxx/utils/google-benchmark/src/
Dconsole_reporter.cc102 static std::string FormatTime(double time) { in FormatTime() function
135 const std::string real_time_str = FormatTime(real_time); in PrintRunData()
136 const std::string cpu_time_str = FormatTime(cpu_time); in PrintRunData()
/external/protobuf/src/google/protobuf/util/
Dtime_util.cc116 string FormatTime(int64 seconds, int32 nanos) { in FormatTime() function
117 return ::google::protobuf::internal::FormatTime(seconds, nanos); in FormatTime()
146 return FormatTime(timestamp.seconds(), timestamp.nanos()); in ToString()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc329 ::google::protobuf::internal::FormatTime(seconds, nanos)); in RenderTimestamp()