forked from markfasheh/duperemove
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmemstats.c
More file actions
33 lines (29 loc) · 870 Bytes
/
Copy pathmemstats.c
File metadata and controls
33 lines (29 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* memstats.c
*
* Copyright (C) 2016 SUSE. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* Authors: Mark Fasheh <[email protected]>
*/
#include <stdlib.h>
#include <stdio.h>
#include "memstats.h"
void print_mem_stats(void)
{
printf("Duperemove memory usage statistics:\n");
show_allocs_file_block();
show_allocs_dupe_blocks_list();
show_allocs_dupe_extents();
show_allocs_extent();
show_allocs_filerec();
show_allocs_filerec_token();
}