mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-11 15:22:26 +00:00
Help Travis figure out what time of day it is
This commit is contained in:
parent
6212045dcd
commit
5e107a9936
@ -16,7 +16,10 @@ along with this program; if not, write to the Free Software
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "../common/global_define.h"
|
||||||
|
#include "../common/rulesys.h"
|
||||||
#include "../common/string_util.h"
|
#include "../common/string_util.h"
|
||||||
|
#include "../common/timer.h"
|
||||||
|
|
||||||
#include "database.h"
|
#include "database.h"
|
||||||
#include "extprofile.h"
|
#include "extprofile.h"
|
||||||
|
|||||||
@ -10482,10 +10482,10 @@ void command_logtest(Client *c, const Seperator *sep){
|
|||||||
t = std::clock();
|
t = std::clock();
|
||||||
log_test.open("logs/log_test.txt", std::ios_base::app | std::ios_base::out);
|
log_test.open("logs/log_test.txt", std::ios_base::app | std::ios_base::out);
|
||||||
for (i = 0; i < atoi(sep->arg[1]); i++){
|
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_test.close();
|
||||||
Log.Out(Logs::General, Logs::Zone_Server, "[%u] Test #2... Took %f seconds", i, ((float)(std::clock() - t)) / CLOCKS_PER_SEC);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user