We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 246ac44 + 9ab3356 commit dc5a994Copy full SHA for dc5a994
1 file changed
battlecode-manager/server.py
@@ -564,11 +564,13 @@ def player_handler(self):
564
my_sandbox.unpause()
565
566
start_time = time.perf_counter()
567
+ start_time_python = time.process_time()
568
self.send_message(start_turn_msg)
569
data = self.get_next_message()
570
+ end_time_python = time.process_time()
571
end_time = time.perf_counter()
572
- diff_time = end_time-start_time
573
+ diff_time = (end_time - start_time) - (end_time_python - start_time_python)
574
575
my_sandbox.pause()
576
0 commit comments