diff options
| -rw-r--r-- | xmake/core/base/profiler.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/core/base/profiler.lua b/xmake/core/base/profiler.lua index 34c5e4bd7..09b4c45f5 100644 --- a/xmake/core/base/profiler.lua +++ b/xmake/core/base/profiler.lua @@ -203,11 +203,14 @@ function profiler:stop() -- show reports local count = 0 - while count < 32 and h:length() > 0 do + while count < 64 and h:length() > 0 do local report = h:pop() utils.print("%6.3f, %7d, %s", report.totaltime, report.callcount, self:_tag_title(report.name, report.argv)) count = count + 1 end + if h:length() > 0 then + utils.print("...") + end end end |
