mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-18 15:42:34 +00:00
- Do not print imported functions in the profile list.
SVN r4059 (trunk)
This commit is contained in:
parent
b2f09b2dc6
commit
b971714e7f
1 changed files with 7 additions and 3 deletions
|
@ -7760,6 +7760,9 @@ void ArrangeFunctionProfiles(TArray<ProfileCollector> &profiles)
|
|||
ProfileCollector prof;
|
||||
prof.Module = module;
|
||||
for (int i = 0; i < module->NumFunctions; ++i)
|
||||
{
|
||||
ScriptFunction *func = (ScriptFunction *)module->Functions + i;
|
||||
if (func->ImportNum == 0)
|
||||
{
|
||||
prof.Index = i;
|
||||
prof.ProfileData = module->FunctionProfileData + i;
|
||||
|
@ -7767,6 +7770,7 @@ void ArrangeFunctionProfiles(TArray<ProfileCollector> &profiles)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static int STACK_ARGS sort_by_total_instr(const void *a_, const void *b_)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue