From d49c810ec9c6010bf41e0ef7ebad101a79373438 Mon Sep 17 00:00:00 2001 From: Steve Bavin Date: Thu, 5 Oct 2006 10:07:03 +0000 Subject: 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 --- apps/tree.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'apps/tree.c') 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) if (fd < 0) return false; -#ifdef HAVE_ADJUSTABLE_CPU_FREQ - cpu_boost(true); -#endif + cpu_boost_id(true, CPUBOOSTID_TREE); snprintf(filename, sizeof(filename), "%s", tc.currdir[1] ? tc.currdir : "/"); @@ -1187,9 +1185,7 @@ bool create_playlist(void) add_dir(filename, sizeof(filename), fd); close(fd); -#ifdef HAVE_ADJUSTABLE_CPU_FREQ - cpu_boost(false); -#endif + cpu_boost_id(false, CPUBOOSTID_TREE); sleep(HZ); -- cgit v1.2.3