diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-27 10:09:21 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:32 -0400 |
commit | 4db6d4535f57413eff7ae5a0c9475ae9b4ec4fb4 (patch) | |
tree | de2416d7ee12cfeb2c08970d93623faf6007c844 /textual.cc | |
parent | a85bd282d7868cd1d7b7f166a2e8d2f13abfde13 (diff) | |
download | fork-ledger-4db6d4535f57413eff7ae5a0c9475ae9b4ec4fb4.tar.gz fork-ledger-4db6d4535f57413eff7ae5a0c9475ae9b4ec4fb4.tar.bz2 fork-ledger-4db6d4535f57413eff7ae5a0c9475ae9b4ec4fb4.zip |
Beat the timing and tracing code into shape.
Diffstat (limited to 'textual.cc')
-rw-r--r-- | textual.cc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -412,7 +412,7 @@ entry_t * parse_entry(std::istream& in, char * line, journal_t * journal, // Parse the date - TRACE_START(entry_date, 2, "Parsing entry date"); + TRACE_START(entry_date, 2, "Time spent parsing entry dates:"); curr->_date = parse_datetime(date); @@ -423,7 +423,7 @@ entry_t * parse_entry(std::istream& in, char * line, journal_t * journal, // Parse the optional cleared flag: * - TRACE_START(entry_details, 2, "Parsing entry details"); + TRACE_START(entry_details, 2, "Time spent parsing entry details:"); transaction_t::state_t state = transaction_t::UNCLEARED; if (statep) { @@ -451,7 +451,7 @@ entry_t * parse_entry(std::istream& in, char * line, journal_t * journal, // Parse all of the transactions associated with this entry - TRACE_START(entry_xacts, 2, "Parsing entry transactions"); + TRACE_START(entry_xacts, 2, "Time spent parsing transactions:"); unsigned long end_pos; unsigned long beg_line = linenum; @@ -620,7 +620,7 @@ unsigned int textual_parser_t::parse(std::istream& in, unsigned int count = 0; unsigned int errors = 0; - TRACE_START(parsing_total, 2, "Parsing textual file"); + TRACE_START(parsing_total, 2, "Total time spent parsing text:"); std::list<account_t *> account_stack; |