resize: add function print_summmary

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>