Skip to content

Commit 85c9953

Browse files
committed
Add missing file
1 parent dabf64e commit 85c9953

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

crates/logging/src/stats.rs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
use std::time::Duration;
2+
3+
pub struct CompactReport {
4+
pub input_files: Vec<String>,
5+
pub output_file: String,
6+
pub elapsed_time: Duration,
7+
}
8+
9+
pub struct ProcessBatchReport {
10+
pub total_sequences: usize,
11+
pub elapsed_time: Duration,
12+
}
13+
14+
pub struct BucketStat {
15+
pub index: usize,
16+
pub chunks_count: usize,
17+
pub total_size: usize,
18+
pub sequences_count: usize,
19+
pub kmers_count: usize,
20+
pub process_batches: Vec<ProcessBatchReport>,
21+
pub final_execution_repprt: Option<ProcessBatchReport>,
22+
pub compact_reports: Vec<CompactReport>,
23+
pub resplit_info: Vec<BucketStat>,
24+
pub rewrite_info: Vec<BucketStat>,
25+
}
26+
27+
pub struct AssemblerStats {
28+
pub bucket_stats: Vec<BucketStat>,
29+
}

0 commit comments

Comments
 (0)