Profiling support, tools and documentation.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8375 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Brandon Low 2006-01-18 20:54:13 +00:00
parent 1060e447f8
commit 05dccc3551
33 changed files with 992 additions and 18 deletions

View file

@ -149,3 +149,14 @@ void qsort(void *base, size_t nmemb, size_t size,
{
local_rb->qsort(base,nmemb,size,compar);
}
#ifdef RB_PROFILE
void __cyg_profile_func_enter(void *this_fn, void *call_site) {
(void)call_site;
local_rb->profile_func_enter(this_fn, __builtin_return_address(1));
}
void __cyg_profile_func_exit(void *this_fn, void *call_site) {
local_rb->profile_func_exit(this_fn,call_site);
}
#endif