MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / getDateTime

Method getDateTime

src/thundersvm/util/log.cpp:1100–1104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1098 }
1099
1100 std::string DateTime::getDateTime(const char* format, const base::SubsecondPrecision* ssPrec) {
1101 struct timeval currTime;
1102 gettimeofday(&currTime);
1103 return timevalToString(currTime, format, ssPrec);
1104 }
1105
1106 std::string DateTime::timevalToString(struct timeval tval, const char* format,
1107 const el::base::SubsecondPrecision* ssPrec) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected