Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

dirstate.cpp: write num of ticks for Dirstate::read to trace

Changeset 6b3660b35e42

Parent 0dac861f0532

by Adrian Buehlmann

Changes to one file · Browse files at 6b3660b35e42 Showing diff from parent 0dac861f0532 Diff from another changeset...

 
193
194
195
 
196
197
 
 
 
198
199
200
 
193
194
195
196
197
 
198
199
200
201
202
203
@@ -193,8 +193,11 @@
  } else {   TDEBUG_TRACE("Dirstatecache::get: reading " << hgroot);   } + unsigned tc0 = GetTickCount();   iter->dstate = Dirstate::read(path).release(); - TDEBUG_TRACE("Dirstatecache::get: " + unsigned tc1 = GetTickCount(); + unsigned delta = tc1 - tc0; + TDEBUG_TRACE("Dirstatecache::get: read done in " << delta << " ticks, "   << _cache.size() << " repos in cache");   }