Fixed some tracing labels.
This commit is contained in:
parent
cdb123974c
commit
54e24a4aa2
2 changed files with 3 additions and 2 deletions
|
|
@ -175,7 +175,7 @@ std::size_t session_t::read_data(journal_t& journal,
|
||||||
if (data_file.empty())
|
if (data_file.empty())
|
||||||
throw_(parse_error, "No journal file was specified (please use -f)");
|
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;
|
std::size_t entry_count = 0;
|
||||||
|
|
||||||
|
|
@ -242,7 +242,7 @@ std::size_t session_t::read_data(journal_t& journal,
|
||||||
|
|
||||||
VERIFY(journal.valid());
|
VERIFY(journal.valid());
|
||||||
|
|
||||||
TRACE_STOP(parser, 1);
|
TRACE_STOP(session_parser, 1);
|
||||||
|
|
||||||
return entry_count;
|
return entry_count;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,7 @@ std::size_t textual_parser_t::parse(std::istream& in,
|
||||||
parsing_instance.parse();
|
parsing_instance.parse();
|
||||||
|
|
||||||
TRACE_STOP(parsing_total, 1);
|
TRACE_STOP(parsing_total, 1);
|
||||||
|
TRACE_FINISH(instance_parse, 1); // report per-instance timers
|
||||||
|
|
||||||
if (parsing_instance.errors > 0)
|
if (parsing_instance.errors > 0)
|
||||||
throw static_cast<int>(parsing_instance.errors);
|
throw static_cast<int>(parsing_instance.errors);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue