diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-20 11:24:43 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-20 11:24:43 -0800 |
commit | 7e486e3b5c5e1a3a6936322fde487260d3058042 (patch) | |
tree | 4be5dc184433a78827f6f5707aae9d40a68e9cda /parser.h | |
parent | 3d8face1f902bd51146c64f4df57a1de7049fd6d (diff) |
More work towards instanced parser
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -187,7 +187,28 @@ enum parser_type_t { PARSER_TYPE_COMPLETIONS_ONLY }; -struct profile_item_t; +struct profile_item_t { + /** + Time spent executing the specified command, including parse time for nested blocks. + */ + int exec; + /** + Time spent parsing the specified command, including execution time for command substitutions. + */ + int parse; + /** + The block level of the specified command. nested blocks and command substitutions both increase the block level. + */ + int level; + /** + If the execution of this command was skipped. + */ + int skipped; + /** + The command string. + */ + wcstring cmd; +}; class parser_t { private: |