Author: mlschroe Date: Tue Nov 4 18:41:21 2008 New Revision: 11578 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11578&view=rev Log: - also print stats for repo_helix Modified: trunk/sat-solver/src/repo_helix.c Modified: trunk/sat-solver/src/repo_helix.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/repo_helix.c?rev=11578&r1=11577&r2=11578&view=diff ============================================================================== --- trunk/sat-solver/src/repo_helix.c (original) +++ trunk/sat-solver/src/repo_helix.c Tue Nov 4 18:41:21 2008 @@ -820,7 +820,9 @@ char buf[BUFF_SIZE]; int i, l; struct stateswitch *sw; + unsigned int now; + now = sat_timems(0); if (!(flags & REPO_REUSE_REPODATA)) data = repo_add_repodata(repo, 0); else @@ -872,4 +874,7 @@ if (!(flags & REPO_NO_INTERNALIZE)) repodata_internalize(data); + POOL_DEBUG(SAT_DEBUG_STATS, "repo_add_helix took %d ms\n", sat_timems(now)); + POOL_DEBUG(SAT_DEBUG_STATS, "repo size: %d solvables\n", repo->nsolvables); + POOL_DEBUG(SAT_DEBUG_STATS, "repo memory used: %d K incore, %d K idarray\n", data->incoredatalen/1024, repo->idarraysize / (1024/sizeof(Id))); } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org