1
0
Fork 0
forked from len0rd/rockbox

Removed the cpu boost tracking debug feature for now because of

different kind of problems. Better implementation can be done later.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11665 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-12-05 20:01:48 +00:00
parent 5f15f8f021
commit c5d57f0aae
9 changed files with 33 additions and 99 deletions

View file

@ -549,16 +549,16 @@ static int dircache_do_rebuild(void)
memset(dircache_cur_path, 0, sizeof(dircache_cur_path));
dircache_size = sizeof(struct dircache_entry);
cpu_boost_id(true, CPUBOOSTID_DIRCACHE);
cpu_boost(true);
if (dircache_travel(pdir, dircache_root) < 0)
{
logf("dircache_travel failed");
cpu_boost_id(false, CPUBOOSTID_DIRCACHE);
cpu_boost(false);
dircache_size = 0;
dircache_initializing = false;
return -2;
}
cpu_boost_id(false, CPUBOOSTID_DIRCACHE);
cpu_boost(false);
logf("Done, %d KiB used", dircache_size / 1024);