summaryrefslogtreecommitdiff
path: root/extractor/sacompile.cc
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2014-10-02 11:59:05 +0100
committerPaul Baltescu <pauldb89@gmail.com>2014-10-02 11:59:05 +0100
commit6ead7d0e4e8de97d23c13989b3968cab873a0342 (patch)
treeaeb60744839771078f92c9f4771937cded3e6cdc /extractor/sacompile.cc
parentf43cf262ea20cc796da917f1d5f35643ef36aa3c (diff)
Fix time tracking for suffix array construction.
Diffstat (limited to 'extractor/sacompile.cc')
-rw-r--r--extractor/sacompile.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/extractor/sacompile.cc b/extractor/sacompile.cc
index 3ee668ce..d80ab64d 100644
--- a/extractor/sacompile.cc
+++ b/extractor/sacompile.cc
@@ -114,6 +114,7 @@ int main(int argc, char** argv) {
stop_write = Clock::now();
write_duration += GetDuration(start_write, stop_write);
+ stop_time = Clock::now();
cerr << "Constructing suffix array took "
<< GetDuration(start_time, stop_time) << " seconds" << endl;