summaryrefslogtreecommitdiff
path: root/trace_parser.hpp
diff options
context:
space:
mode:
authorZack Rusin <zack@kde.org>2011-09-04 16:14:22 -0400
committerZack Rusin <zack@kde.org>2011-09-04 16:14:22 -0400
commit2b1bd4f71daba2570525eb63aa7b3b66e27259a7 (patch)
tree3c45ea05f1d172a756ff1ecb54d348c380237b13 /trace_parser.hpp
parentc07f0288b4a5107e4702b4a6c748866509b37612 (diff)
Add code to report parsing/scanning progress.
Diffstat (limited to 'trace_parser.hpp')
-rw-r--r--trace_parser.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/trace_parser.hpp b/trace_parser.hpp
index 1f87b6f..f50cf9a 100644
--- a/trace_parser.hpp
+++ b/trace_parser.hpp
@@ -112,6 +112,11 @@ public:
next_call_no = num;
}
+ int percentRead()
+ {
+ return file->percentRead();
+ }
+
Call *scan_call();
protected: