mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-26 11:35:33 +00:00
Dumping memory is draining it from parasite, for pre-dump this time would be reasonably small. _Writing_ the memory would occur _after_ tasks unseize and resume. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
20 lines
270 B
C
20 lines
270 B
C
#ifndef __CR_STATS_H__
|
|
#define __CR_STATS_H__
|
|
void show_stats(int fd);
|
|
|
|
enum {
|
|
TIME_FREEZING,
|
|
TIME_FROZEN,
|
|
TIME_MEMDUMP,
|
|
TIME_MEMWRITE,
|
|
|
|
TIME_NR_STATS,
|
|
};
|
|
|
|
void timing_start(int t);
|
|
void timing_stop(int t);
|
|
|
|
#define DUMP_STATS 1
|
|
void write_stats(int what);
|
|
|
|
#endif
|