summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/session.cc4
-rw-r--r--src/textual.cc1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/session.cc b/src/session.cc
index 8e78e9e9..70925ea7 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -175,7 +175,7 @@ std::size_t session_t::read_data(journal_t& journal,
if (data_file.empty())
throw_(parse_error, "No journal file was specified (please use -f)");
- TRACE_START(parser, 1, "Parsed journal file");
+ TRACE_START(session_parser, 1, "Parsed journal file");
std::size_t entry_count = 0;
@@ -242,7 +242,7 @@ std::size_t session_t::read_data(journal_t& journal,
VERIFY(journal.valid());
- TRACE_STOP(parser, 1);
+ TRACE_STOP(session_parser, 1);
return entry_count;
}
diff --git a/src/textual.cc b/src/textual.cc
index e5906b3d..1cf85a23 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -88,6 +88,7 @@ std::size_t textual_parser_t::parse(std::istream& in,
parsing_instance.parse();
TRACE_STOP(parsing_total, 1);
+ TRACE_FINISH(instance_parse, 1); // report per-instance timers
if (parsing_instance.errors > 0)
throw static_cast<int>(parsing_instance.errors);