From: Akhilesh MY (amuttuva) Date: Tue, 17 Oct 2023 09:40:03 +0000 (+0000) Subject: Pull request #4057: profiler: extend field length to support uint64 X-Git-Tag: 3.1.73.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a7a333b36ecaa2e69da17a3e78110cea35d59a6;p=thirdparty%2Fsnort3.git Pull request #4057: profiler: extend field length to support uint64 Merge in SNORT/snort3 from ~AMUTTUVA/snort3:time_profiler_field to master Squashed commit of the following: commit 369b82cb73598a157ebe1769ebd2bed1da52b525 Author: Akhilesh MY Date: Tue Oct 17 01:45:39 2023 -0400 profiler: extend field length to support uint64 --- diff --git a/src/profiler/time_profiler.cc b/src/profiler/time_profiler.cc index 2a442019a..b4c2c1dc8 100644 --- a/src/profiler/time_profiler.cc +++ b/src/profiler/time_profiler.cc @@ -52,9 +52,9 @@ static const StatsTable::Field fields[] = { "#", 5, ' ', 0, std::ios_base::left }, { "module", 24, ' ', 0, std::ios_base::fmtflags() }, { "layer", 6, ' ', 0, std::ios_base::fmtflags() }, - { "checks", 10, ' ', 0, std::ios_base::fmtflags() }, - { "time(us)", 11, ' ', 0, std::ios_base::fmtflags() }, - { "avg/check", 11, ' ', 1, std::ios_base::fmtflags() }, + { "checks", 21, ' ', 0, std::ios_base::fmtflags() }, + { "time(us)", 21, ' ', 0, std::ios_base::fmtflags() }, + { "avg/check", 21, ' ', 1, std::ios_base::fmtflags() }, { "%/caller", 10, ' ', 2, std::ios_base::fmtflags() }, { "%/total", 9, ' ', 2, std::ios_base::fmtflags() }, { nullptr, 0, '\0', 0, std::ios_base::fmtflags() }