Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@openvz.org>2016-02-15 15:26:50 +0300
committerPavel Emelyanov <xemul@virtuozzo.com>2016-02-15 15:32:27 +0300
commit594fb527533f2377e0f98f7d46c00a0ef0219e9c (patch)
treead95c0ba37ce4edeccee6c106d0fb470e9d43391 /images/stats.proto
parent319f4a08a87fd5a76a710935d3d35854aec34117 (diff)
build: Move @protobuf dir into @images
But keep @protobuf as a symlink: we have this path encoded in sources. Gonna be removed with time. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Diffstat (limited to 'images/stats.proto')
-rw-r--r--images/stats.proto28
1 files changed, 28 insertions, 0 deletions
diff --git a/images/stats.proto b/images/stats.proto
new file mode 100644
index 000000000..16acf3400
--- /dev/null
+++ b/images/stats.proto
@@ -0,0 +1,28 @@
+// This one contains statistics about dump/restore process
+message dump_stats_entry {
+ required uint32 freezing_time = 1;
+ required uint32 frozen_time = 2;
+ required uint32 memdump_time = 3;
+ required uint32 memwrite_time = 4;
+
+ required uint64 pages_scanned = 5;
+ required uint64 pages_skipped_parent = 6;
+ required uint64 pages_written = 7;
+
+ optional uint32 irmap_resolve = 8;
+}
+
+message restore_stats_entry {
+ required uint64 pages_compared = 1;
+ required uint64 pages_skipped_cow = 2;
+
+ required uint32 forking_time = 3;
+ required uint32 restore_time = 4;
+
+ optional uint64 pages_restored = 5;
+}
+
+message stats_entry {
+ optional dump_stats_entry dump = 1;
+ optional restore_stats_entry restore = 2;
+}