Skip to content

Commit

Permalink
Update spring.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamchandak94 committed Dec 31, 2019
1 parent 88c5314 commit 02370c4
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/spring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ void compress(const std::string &temp_dir,
preprocess_end - preprocess_start)
.count()
<< " s\n";
std::cout << "temp_dir size: " << get_directory_size(temp_dir) << "\n";
std::cout << "Temporary directory size: " << get_directory_size(temp_dir) << "\n";

if (!long_flag) {
std::cout << "Reordering ...\n";
auto reorder_start = std::chrono::steady_clock::now();
Expand All @@ -157,7 +157,8 @@ void compress(const std::string &temp_dir,
.count()
<< " s\n";

std::cout << "temp_dir size: " << get_directory_size(temp_dir) << "\n";
std::cout << "temp_dir size: " << get_directory_size(temp_dir) << "\n";

std::cout << "Encoding ...\n";
auto encoder_start = std::chrono::steady_clock::now();
call_encoder(temp_dir, cp);
Expand All @@ -168,7 +169,7 @@ void compress(const std::string &temp_dir,
encoder_start)
.count()
<< " s\n";
std::cout << "temp_dir size: " << get_directory_size(temp_dir) << "\n";
std::cout << "Temporary directory size: " << get_directory_size(temp_dir) << "\n";

if (!preserve_order && (preserve_quality || preserve_id)) {
std::cout << "Reordering and compressing quality and/or ids ...\n";
Expand All @@ -181,7 +182,7 @@ void compress(const std::string &temp_dir,
rcqi_start)
.count()
<< " s\n";
std::cout << "temp_dir size: " << get_directory_size(temp_dir) << "\n";
std::cout << "Temporary directory size: " << get_directory_size(temp_dir) << "\n";
}

if (!preserve_order && paired_end) {
Expand All @@ -195,7 +196,7 @@ void compress(const std::string &temp_dir,
pe_encode_end - pe_encode_start)
.count()
<< " s\n";
std::cout << "temp_dir size: " << get_directory_size(temp_dir) << "\n";
std::cout << "Temporary directory size: " << get_directory_size(temp_dir) << "\n";
}

std::cout << "Reordering and compressing streams ...\n";
Expand All @@ -208,7 +209,7 @@ void compress(const std::string &temp_dir,
rcs_start)
.count()
<< " s\n";
std::cout << "temp_dir size: " << get_directory_size(temp_dir) << "\n";
std::cout << "Temporary directory size: " << get_directory_size(temp_dir) << "\n";
}

// Write compression params to a file
Expand Down

0 comments on commit 02370c4

Please sign in to comment.