summaryrefslogtreecommitdiff
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
commit791d72e0ee0202c5495baeeb5eaa4232b7160fe5 (patch)
tree723c7376b87a9475faa2ab24f092a6391a7b2115
parent6d39ed39df03c74ccf1a99fa9c7d0ef77bcd9220 (diff)
Fix time tracking for suffix array construction.
-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;