Help Travis figure out what time of day it is

This commit is contained in:
Akkadius
2015-01-25 02:23:05 -06:00
parent 6212045dcd
commit 5e107a9936
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -10482,10 +10482,10 @@ void command_logtest(Client *c, const Seperator *sep){
t = std::clock();
log_test.open("logs/log_test.txt", std::ios_base::app | std::ios_base::out);
for (i = 0; i < atoi(sep->arg[1]); i++){
log_test << "this is a test\n";
Log.Out(Logs::General, Logs::Zone_Server, "[%u] Test #2... Took %f seconds", i, ((float)(std::clock() - t)) / CLOCKS_PER_SEC);
}
log_test.close();
Log.Out(Logs::General, Logs::Zone_Server, "[%u] Test #2... Took %f seconds", i, ((float)(std::clock() - t)) / CLOCKS_PER_SEC);
}
}