client: remove unused bitcounts profiling data

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2012-11-24 11:40:37 +10:30
parent c5ebfcdcd9
commit c2abd3df01
2 changed files with 0 additions and 13 deletions

View File

@ -371,8 +371,6 @@ If an entities model or origin changes from frame to frame, it must be
relinked. Other attributes can change without relinking.
==================
*/
// FIXME - is this 16 == MAX_CLIENTS?
int bitcounts[16];
void
CL_ParseUpdate(int bits)
@ -407,10 +405,6 @@ CL_ParseUpdate(int bits)
ent = CL_EntityNum(num);
for (i = 0; i < 16; i++)
if (bits & (1 << i))
bitcounts[i]++;
if (ent->msgtime != cl.mtime[1])
forcelink = true; // no previous frame to lerp from
else

View File

@ -161,8 +161,6 @@ CL_ParseDelta
Can go from either a baseline or a previous packet_entity
==================
*/
int bitcounts[32]; /// just for protocol profiling
static void
CL_ParseDelta(entity_state_t *from, entity_state_t *to, int bits)
{
@ -178,11 +176,6 @@ CL_ParseDelta(entity_state_t *from, entity_state_t *to, int bits)
i = MSG_ReadByte();
bits |= i;
}
// count the bits for net profiling
for (i = 0; i < 16; i++)
if (bits & (1 << i))
bitcounts[i]++;
to->flags = bits;
if (bits & U_MODEL)