summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2006-10-05 10:07:03 +0000
committerSteve Bavin <pondlife@pondlife.me>2006-10-05 10:07:03 +0000
commitd49c810ec9c6010bf41e0ef7ebad101a79373438 (patch)
tree26755e1026276ed7f88071a7739497f93dd3ef6a /apps/tree.c
parent3eb9e70b6467becb2aa88cc8d24a82a7c288f1fd (diff)
downloadrockbox-d49c810ec9c6010bf41e0ef7ebad101a79373438.tar.gz
rockbox-d49c810ec9c6010bf41e0ef7ebad101a79373438.zip
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 'apps/tree.c')
-rw-r--r--apps/tree.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/tree.c b/apps/tree.c
index b5673e681c..70b83f8934 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1177,9 +1177,7 @@ bool create_playlist(void)
1177 if (fd < 0) 1177 if (fd < 0)
1178 return false; 1178 return false;
1179 1179
1180#ifdef HAVE_ADJUSTABLE_CPU_FREQ 1180 cpu_boost_id(true, CPUBOOSTID_TREE);
1181 cpu_boost(true);
1182#endif
1183 1181
1184 snprintf(filename, sizeof(filename), "%s", 1182 snprintf(filename, sizeof(filename), "%s",
1185 tc.currdir[1] ? tc.currdir : "/"); 1183 tc.currdir[1] ? tc.currdir : "/");
@@ -1187,9 +1185,7 @@ bool create_playlist(void)
1187 add_dir(filename, sizeof(filename), fd); 1185 add_dir(filename, sizeof(filename), fd);
1188 close(fd); 1186 close(fd);
1189 1187
1190#ifdef HAVE_ADJUSTABLE_CPU_FREQ 1188 cpu_boost_id(false, CPUBOOSTID_TREE);
1191 cpu_boost(false);
1192#endif
1193 1189
1194 sleep(HZ); 1190 sleep(HZ);
1195 1191