Optimize memcheck_analyze.py for ui_tests by using the same log completion waiting scheme as it was before rev47547.
Optimize memcheck_analyze.py for ui_tests
by using the same log completion waiting scheme as it was before rev47547.

Before 47547:
memcheck_analyze.Analyze was called once for all log files.
That means, wait 3 minutes max in total for logs to complete.

After 47547:
memcheck_analyze.Analyze is called once for each ui_test. (better logs)
That means, wait 3 minutes max for each ui_test and there are many of them. (SLOW!!!)

After this patch:
memcheck_analyze.Analyze is called once for each ui_test. (better logs)
But since AnalyzeStartTime is now global,
we wait 3 minutes max in total for logs to complete.

TEST=Valgrind/UI bots should become faster
Review URL: http://codereview.chromium.org/3035025

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@53613 0039d316-1c4b-4281-b951-d872f2087c98

TheTypoMaster/chromium-crosswalk,krieger-od/nwjs_chromium.src,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,M4sse/chromium.src,hujiajie/pa-chromium,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,axinging/chromium-crosswalk,nacl-webkit/chrome_deps,nacl-webkit/chrome_deps,dednal/chromium.src,hgl888/chromium-crosswalk,hujiajie/pa-chromium,markYoungH/chromium.src,TheTypoMaster/chromium-crosswalk,anirudhSK/chromium,hgl888/chromium-crosswalk-efl,chuan9/chromium-crosswalk,jaruba/chromium.src,mogoweb/chromium-crosswalk,jaruba/chromium.src,ChromiumWebApps/chromium,PeterWangIntel/chromium-crosswalk,junmin-zhu/chromium-rivertrail,Chilledheart/chromium,robclark/chromium,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk-efl,chuan9/chromium-crosswalk,axinging/chromium-crosswalk,hgl888/chromium-crosswalk,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,patrickm/chromium.src,anirudhSK/chromium,chuan9/chromium-crosswalk,ondra-novak/chromium.src,ltilve/chromium,ondra-novak/chromium.src,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,timopulkkinen/BubbleFish,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Jonekee/chromium.src,anirudhSK/chromium,Just-D/chromium-1,krieger-od/nwjs_chromium.src,Pluto-tv/chromium-crosswalk,ChromiumWebApps/chromium,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,patrickm/chromium.src,robclark/chromium,dushu1203/chromium.src,Just-D/chromium-1,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,jaruba/chromium.src,keishi/chromium,keishi/chromium,ltilve/chromium,littlstar/chromium.src,ChromiumWebApps/chromium,ChromiumWebApps/chromium,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,Fireblend/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,patrickm/chromium.src,markYoungH/chromium.src,Just-D/chromium-1,junmin-zhu/chromium-rivertrail,krieger-od/nwjs_chromium.src,crosswalk-project/chromium-crosswalk-efl,timopulkkinen/BubbleFish,patrickm/chromium.src,timopulkkinen/BubbleFish,hujiajie/pa-chromium,jaruba/chromium.src,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,M4sse/chromium.src,crosswalk-project/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,Chilledheart/chromium,zcbenz/cefode-chromium,axinging/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ondra-novak/chromium.src,robclark/chromium,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Jonekee/chromium.src,anirudhSK/chromium,Jonekee/chromium.src,markYoungH/chromium.src,markYoungH/chromium.src,patrickm/chromium.src,ChromiumWebApps/chromium,littlstar/chromium.src,fujunwei/chromium-crosswalk,ondra-novak/chromium.src,nacl-webkit/chrome_deps,PeterWangIntel/chromium-crosswalk,keishi/chromium,mohamed--abdel-maksoud/chromium.src,keishi/chromium,zcbenz/cefode-chromium,markYoungH/chromium.src,crosswalk-project/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,timopulkkinen/BubbleFish,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,bright-sparks/chromium-spacewalk,fujunwei/chromium-crosswalk,Chilledheart/chromium,pozdnyakov/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,zcbenz/cefode-chromium,markYoungH/chromium.src,chuan9/chromium-crosswalk,rogerwang/chromium,nacl-webkit/chrome_deps,M4sse/chromium.src,Chilledheart/chromium,rogerwang/chromium,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,Fireblend/chromium-crosswalk,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,bright-sparks/chromium-spacewalk,M4sse/chromium.src,patrickm/chromium.src,keishi/chromium,nacl-webkit/chrome_deps,keishi/chromium,markYoungH/chromium.src,dednal/chromium.src,junmin-zhu/chromium-rivertrail,hujiajie/pa-chromium,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,Just-D/chromium-1,Chilledheart/chromium,fujunwei/chromium-crosswalk,jaruba/chromium.src,Just-D/chromium-1,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,ltilve/chromium,Chilledheart/chromium,dednal/chromium.src,patrickm/chromium.src,hujiajie/pa-chromium,rogerwang/chromium,robclark/chromium,chuan9/chromium-crosswalk,Just-D/chromium-1,hgl888/chromium-crosswalk,Fireblend/chromium-crosswalk,M4sse/chromium.src,rogerwang/chromium,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,crosswalk-project/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,ondra-novak/chromium.src,rogerwang/chromium,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk-efl,dushu1203/chromium.src,robclark/chromium,littlstar/chromium.src,timopulkkinen/BubbleFish,dednal/chromium.src,hgl888/chromium-crosswalk,robclark/chromium,ltilve/chromium,Pluto-tv/chromium-crosswalk,krieger-od/nwjs_chromium.src,dednal/chromium.src,chuan9/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,ltilve/chromium,hgl888/chromium-crosswalk,nacl-webkit/chrome_deps,mogoweb/chromium-crosswalk,littlstar/chromium.src,axinging/chromium-crosswalk,mogoweb/chromium-crosswalk,pozdnyakov/chromium-crosswalk,zcbenz/cefode-chromium,dushu1203/chromium.src,rogerwang/chromium,jaruba/chromium.src,chuan9/chromium-crosswalk,ChromiumWebApps/chromium,patrickm/chromium.src,dednal/chromium.src,hujiajie/pa-chromium,dushu1203/chromium.src,timopulkkinen/BubbleFish,keishi/chromium,TheTypoMaster/chromium-crosswalk,dednal/chromium.src,nacl-webkit/chrome_deps,M4sse/chromium.src,zcbenz/cefode-chromium,markYoungH/chromium.src,ChromiumWebApps/chromium,M4sse/chromium.src,hujiajie/pa-chromium,dednal/chromium.src,axinging/chromium-crosswalk,ondra-novak/chromium.src,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,littlstar/chromium.src,hujiajie/pa-chromium,fujunwei/chromium-crosswalk,dushu1203/chromium.src,bright-sparks/chromium-spacewalk,keishi/chromium,nacl-webkit/chrome_deps,crosswalk-project/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,anirudhSK/chromium,dednal/chromium.src,robclark/chromium,nacl-webkit/chrome_deps,zcbenz/cefode-chromium,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,krieger-od/nwjs_chromium.src,Fireblend/chromium-crosswalk,timopulkkinen/BubbleFish,pozdnyakov/chromium-crosswalk,mogoweb/chromium-crosswalk,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,Pluto-tv/chromium-crosswalk,ondra-novak/chromium.src,ondra-novak/chromium.src,littlstar/chromium.src,markYoungH/chromium.src,dushu1203/chromium.src,dushu1203/chromium.src,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,jaruba/chromium.src,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,jaruba/chromium.src,nacl-webkit/chrome_deps,ltilve/chromium,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,ltilve/chromium,rogerwang/chromium,timopulkkinen/BubbleFish,Chilledheart/chromium,timopulkkinen/BubbleFish,littlstar/chromium.src,patrickm/chromium.src,Fireblend/chromium-crosswalk,dushu1203/chromium.src,Fireblend/chromium-crosswalk,fujunwei/chromium-crosswalk,anirudhSK/chromium,bright-sparks/chromium-spacewalk,mogoweb/chromium-crosswalk,ChromiumWebApps/chromium,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Fireblend/chromium-crosswalk,keishi/chromium,robclark/chromium,chuan9/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,robclark/chromium,keishi/chromium,hgl888/chromium-crosswalk-efl,Jonekee/chromium.src,hujiajie/pa-chromium,markYoungH/chromium.src,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,mogoweb/chromium-crosswalk,keishi/chromium,Pluto-tv/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,axinging/chromium-crosswalk,mogoweb/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,mohamed--abdel-maksoud/chromium.src,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,fujunwei/chromium-crosswalk,rogerwang/chromium,pozdnyakov/chromium-crosswalk,ChromiumWebApps/chromium,dushu1203/chromium.src,anirudhSK/chromium,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk,jaruba/chromium.src,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,jaruba/chromium.src,junmin-zhu/chromium-rivertrail,axinging/chromium-crosswalk,M4sse/chromium.src,zcbenz/cefode-chromium,dushu1203/chromium.src,Just-D/chromium-1,mogoweb/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,rogerwang/chromium,Jonekee/chromium.src,markYoungH/chromium.src,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,nacl-webkit/chrome_deps,rogerwang/chromium,mohamed--abdel-maksoud/chromium.src,robclark/chromium,zcbenz/cefode-chromium,Just-D/chromium-1,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,Chilledheart/chromium,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,ltilve/chromium,hujiajie/pa-chromium,Just-D/chromium-1,Chilledheart/chromium,ChromiumWebApps/chromium,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,mohamed--abdel-maksoud/chromium.src,fujunwei/chromium-crosswalk,axinging/chromium-crosswalk,ltilve/chromium,junmin-zhu/chromium-rivertrail,timopulkkinen/BubbleFish,zcbenz/cefode-chromium