================= Com_RunAndTimeServerPacket ================= */
| 805 | ================= |
| 806 | */ |
| 807 | void Com_RunAndTimeServerPacket( netadr_t *evFrom, msg_t *buf ) { |
| 808 | int t1, t2, msec; |
| 809 | |
| 810 | t1 = 0; |
| 811 | |
| 812 | if ( com_speeds->integer ) { |
| 813 | t1 = Sys_Milliseconds (); |
| 814 | } |
| 815 | |
| 816 | SV_PacketEvent( *evFrom, buf ); |
| 817 | |
| 818 | if ( com_speeds->integer ) { |
| 819 | t2 = Sys_Milliseconds (); |
| 820 | msec = t2 - t1; |
| 821 | if ( com_speeds->integer == 3 ) { |
| 822 | Com_Printf( "SV_PacketEvent time: %i\n", msec ); |
| 823 | } |
| 824 | } |
| 825 | } |
| 826 | |
| 827 | /* |
| 828 | ================= |
no test coverage detected