From f50e39b9039b4f8078c7b946ea5929b6fd906853 Mon Sep 17 00:00:00 2001 From: Russ Fish Date: Thu, 7 Apr 2005 16:28:02 +0000 Subject: [PATCH] Adjust dump_analyzer for file_dumper format change. --- robots/vmcd/dump_analyzer.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/robots/vmcd/dump_analyzer.py b/robots/vmcd/dump_analyzer.py index 9f47f0698..711f2f27f 100755 --- a/robots/vmcd/dump_analyzer.py +++ b/robots/vmcd/dump_analyzer.py @@ -1,5 +1,9 @@ #!/usr/local/bin/python - +# +# EMULAB-COPYRIGHT +# Copyright (c) 2005 University of Utah and the Flux Group. +# All rights reserved. +# import sys import getopt import string @@ -286,7 +290,7 @@ fpnum = "\s*(\-*\d+\.\d+)\s*" re_section = re.compile("section:\s*\("+fpnum+","+fpnum+"\)") re_section_sep = re.compile("\+\+\+") re_frame_title = re.compile("frame (\d+) \(timestamp"+fpnum+"\):") -re_frame_data_line = re.compile("a\("+fpnum+","+fpnum+"\)\s*" +re_frame_data_line = re.compile("\[[0-9]+\] a\("+fpnum+","+fpnum+"\)\s*" "b\("+fpnum+","+fpnum+"\)\s*" "-- wc\("+fpnum+","+fpnum+","+fpnum+"\)\s*") -- GitLab