MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / FormatTimeInMillisAsSeconds

Function FormatTimeInMillisAsSeconds

tests/gtest/gtest-all.cc:5161–5165  ·  view source on GitHub ↗

Formats the given time in milliseconds as seconds.

Source from the content-addressed store, hash-verified

5159
5160// Formats the given time in milliseconds as seconds.
5161std::string FormatTimeInMillisAsSeconds(TimeInMillis ms) {
5162 ::std::stringstream ss;
5163 ss << (static_cast<double>(ms) * 1e-3);
5164 return ss.str();
5165}
5166
5167static bool PortableLocaltime(time_t seconds, struct tm* out) {
5168#if defined(_MSC_VER)

Callers 3

OutputXmlTestInfoMethod · 0.85
PrintXmlTestSuiteMethod · 0.85
PrintXmlUnitTestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected