summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc939c1)
raw | patch | inline | side by side (parent: dc939c1)
author | ishmal <ishmal@users.sourceforge.net> | |
Tue, 28 Nov 2006 21:48:42 +0000 (21:48 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Tue, 28 Nov 2006 21:48:42 +0000 (21:48 +0000) |
buildtool.cpp | patch | blob | history |
diff --git a/buildtool.cpp b/buildtool.cpp
index 00c603ab535f3c1276f6734a28496dadf0e89e64..bd221fe1fd6e468cbc2a753343bca87feec0aaeb 100644 (file)
--- a/buildtool.cpp
+++ b/buildtool.cpp
int minutes = seconds/60;
seconds += minutes*60;
char buf[80];
- snprintf(buf, 79, "%dM:%02d.%03dM", minutes, seconds, millis);
+ snprintf(buf, 79, "%dm %d.%03ds", minutes, seconds, millis);
String ret = buf;
return ret;
if (!run())
return false;
gettimeofday(&timeEnd, NULL);
- String timeStr = timeDiffString(timeStart, timeEnd);
+ String timeStr = timeDiffString(timeEnd, timeStart);
status("####################################################");
status("# BuildTool Completed : %s", timeStr.c_str());
status("####################################################");