-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprint_info.c
20 lines (19 loc) · 1.15 KB
/
print_info.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* print_info.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fnacarel <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/01/15 05:32:48 by fnacarel #+# #+# */
/* Updated: 2023/01/15 05:51:31 by fnacarel ### ########.fr */
/* */
/* ************************************************************************** */
#include "./encoder.h"
void print_info(t_decoder_info *info)
{
printf("Data decompressed: %s\n", info->data);
printf("Size of data decompressed: %d\n", info->data_len);
printf("Compressed data size: %d\n", info->compressed_len);
printf("Runtime (μs): %lu\n", info->decoder_runtime);
}