Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11578 - /trunk/sat-solver/src/repo_helix.c
  • From: mlschroe@xxxxxxxxxxxxxxxx
  • Date: Tue, 04 Nov 2008 17:41:21 -0000
  • Message-id: <20081104174121.96CE8A0654@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages