MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / highsTimeToString

Function highsTimeToString

highs/io/HighsIO.cpp:313–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313const std::string highsTimeToString(const double time) {
314 return
315#ifndef NDEBUG
316 std::to_string(time);
317#else
318 std::to_string(static_cast<int>(time));
319#endif
320}
321
322const std::string highsTimeSecondToString(const double time) {
323 return highsTimeToString(time) + "s";

Callers 2

highsTimeSecondToStringFunction · 0.85
runProbingMethod · 0.85

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected