vbox的更動 62099 路徑 trunk/src/VBox/ValidationKit
- 時間撮記:
- 2016-7-7 上午09:59:30 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/ValidationKit/testdriver/reporter.py
r62084 r62099 889 889 return False; 890 890 891 def _xmlFlushIfNecessary(self ):891 def _xmlFlushIfNecessary(self, fPolling = False): 892 892 """Flushes the XML back log if necessary.""" 893 893 tsNow = utils.timestampSecond(); 894 894 cSecs = tsNow - self._secTsXmlFlush; 895 895 cSecsLast = tsNow - self._secTsXmlLast; 896 self._secTsXmlLast = tsNow; 896 if fPolling is not True: 897 self._secTsXmlLast = tsNow; 897 898 self._writeOutput('xml-debug/%s: %s s since flush, %s s since poll' 898 899 % (len(self._asXml), cSecs, cSecsLast,)); # temporarily while debugging flush/poll problem. … … 943 944 if len(self._asXml) > 0: 944 945 g_oLock.acquire(); 945 self._xmlFlushIfNecessary( );946 self._xmlFlushIfNecessary(fPolling = True); 946 947 g_oLock.release(); 947 948 return None;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器