added even more debugging info

This commit is contained in:
Magnus Auvinen 2007-12-16 16:15:29 +00:00
parent ca3ce81daf
commit a04f53b7d5

View file

@ -346,14 +346,11 @@ static void server_do_snap()
/* create delta */
{
static PERFORMACE_INFO scope = {"delta", 0};
static int temp = 0;
perf_start(&scope);
deltasize = snapshot_create_delta(deltashot, (SNAPSHOT*)data, deltadata);
perf_end();
temp++;
if(scope.last_delta > time_freq()/50 || (temp%1000) == 0)
if(scope.last_delta > time_freq()/50)
{
static int id = 0;
char buf[64];