diff options
| author | Steve Bavin <pondlife@pondlife.me> | 2006-10-05 10:07:03 +0000 |
|---|---|---|
| committer | Steve Bavin <pondlife@pondlife.me> | 2006-10-05 10:07:03 +0000 |
| commit | d49c810ec9c6010bf41e0ef7ebad101a79373438 (patch) | |
| tree | 26755e1026276ed7f88071a7739497f93dd3ef6a /firmware/common | |
| parent | 3eb9e70b6467becb2aa88cc8d24a82a7c288f1fd (diff) | |
| download | rockbox-d49c810ec9c6010bf41e0ef7ebad101a79373438.zip rockbox-d49c810ec9c6010bf41e0ef7ebad101a79373438.tar.gz rockbox-d49c810ec9c6010bf41e0ef7ebad101a79373438.tar.bz2 rockbox-d49c810ec9c6010bf41e0ef7ebad101a79373438.tar.xz | |
Add CPU boost tracker to see where boosts are coming from
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11125 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
| -rw-r--r-- | firmware/common/dircache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c index 0bdd065..7222a41 100644 --- a/firmware/common/dircache.c +++ b/firmware/common/dircache.c @@ -546,16 +546,16 @@ static int dircache_do_rebuild(void) memset(dircache_cur_path, 0, MAX_PATH); dircache_size = sizeof(struct dircache_entry); - cpu_boost(true); + cpu_boost_id(true, CPUBOOSTID_DIRCACHE); if (dircache_travel(pdir, dircache_root) < 0) { logf("dircache_travel failed"); - cpu_boost(false); + cpu_boost_id(false, CPUBOOSTID_DIRCACHE); dircache_size = 0; dircache_initializing = false; return -2; } - cpu_boost(false); + cpu_boost_id(false, CPUBOOSTID_DIRCACHE); logf("Done, %d KiB used", dircache_size / 1024); |