|
Go to the documentation of this file.
24 tstruct = *localtime(&now);
25 strftime(buf, sizeof(buf), "%Y-%m-%d: %X", &tstruct);
42 msg(msg), startFuntime(time(0)) {
54 int totalTime = static_cast<int>(difftime(time(0), starttime));
55 std::stringstream stotalTime;
56 stotalTime << totalTime / 60 << "min " << totalTime % 60 << "s";
58 int funTime = static_cast<int>(difftime(time(0), startFuntime));
59 std::stringstream sfunTime;
60 sfunTime << funTime / 60 << "min " << funTime % 60 << "s";
71 << stotalTime.str() << std::endl;
83 std::stringstream trace;
86 for (std::vector<ScopeLogger*>::iterator ilog =
89 trace << (*ilog)->msg << "(" << difftime(time(0), (*ilog)->startFuntime)
93 std::cout << trace.str() << std::endl;
libFAUDES 2.28c
--- 2016.09.30
--- c++ api documentaion by doxygen
|