diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2006-12-05 20:01:48 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-12-05 20:01:48 +0000 |
| commit | c5d57f0aaec039de4a72a94d103ace64c0553b3d (patch) | |
| tree | ae2f61a6deb7d65d174d175eef02b5be5c8c0cb6 /apps/tagcache.c | |
| parent | 5f15f8f021abc08db88e95371ceda194f5717893 (diff) | |
| download | rockbox-c5d57f0aaec039de4a72a94d103ace64c0553b3d.zip rockbox-c5d57f0aaec039de4a72a94d103ace64c0553b3d.tar.gz rockbox-c5d57f0aaec039de4a72a94d103ace64c0553b3d.tar.bz2 rockbox-c5d57f0aaec039de4a72a94d103ace64c0553b3d.tar.xz | |
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
Diffstat (limited to 'apps/tagcache.c')
| -rw-r--r-- | apps/tagcache.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index dea2039..02b8430 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -3534,7 +3534,7 @@ void build_tagcache(const char *path) filenametag_fd = open_tag_fd(&header, tag_filename, false); - cpu_boost_id(true, CPUBOOSTID_TAGCACHE); + cpu_boost(true); logf("Scanning files..."); /* Scan for new files. */ @@ -3562,7 +3562,7 @@ void build_tagcache(const char *path) if (!ret) { logf("Aborted."); - cpu_boost_id(false, CPUBOOSTID_TAGCACHE); + cpu_boost(false); return ; } @@ -3588,7 +3588,7 @@ void build_tagcache(const char *path) } #endif - cpu_boost_id(false, CPUBOOSTID_TAGCACHE); + cpu_boost(false); } #ifdef HAVE_TC_RAMCACHE @@ -3597,7 +3597,7 @@ static void load_ramcache(void) if (!hdr) return ; - cpu_boost_id(true, CPUBOOSTID_TAGCACHE); + cpu_boost(true); /* At first we should load the cache (if exists). */ tc_stat.ramcache = load_tagcache(); @@ -3610,7 +3610,7 @@ static void load_ramcache(void) hdr = NULL; } - cpu_boost_id(false, CPUBOOSTID_TAGCACHE); + cpu_boost(false); } void tagcache_unload_ramcache(void) @@ -3656,7 +3656,7 @@ static void tagcache_thread(void) /* If the previous cache build/update was interrupted, commit * the changes first in foreground. */ - cpu_boost_id(true, CPUBOOSTID_TAGCACHE); + cpu_boost(true); allocate_tempbuf(); commit(); free_tempbuf(); @@ -3674,7 +3674,7 @@ static void tagcache_thread(void) allocate_tagcache(); #endif - cpu_boost_id(false, CPUBOOSTID_TAGCACHE); + cpu_boost(false); tc_stat.initialized = true; /* Don't delay bootup with the header check but do it on background. */ |