VirtualBox

vbox的更動 62099 路徑 trunk/src/VBox/ValidationKit


忽略:
時間撮記:
2016-7-7 上午09:59:30 (8 年 以前)
作者:
vboxsync
訊息:

reporter.py: count polling as idle.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/ValidationKit/testdriver/reporter.py

    r62084 r62099  
    889889        return False;
    890890
    891     def _xmlFlushIfNecessary(self):
     891    def _xmlFlushIfNecessary(self, fPolling = False):
    892892        """Flushes the XML back log if necessary."""
    893893        tsNow = utils.timestampSecond();
    894894        cSecs     = tsNow - self._secTsXmlFlush;
    895895        cSecsLast = tsNow - self._secTsXmlLast;
    896         self._secTsXmlLast = tsNow;
     896        if fPolling is not True:
     897            self._secTsXmlLast = tsNow;
    897898        self._writeOutput('xml-debug/%s: %s s since flush, %s s since poll'
    898899                          % (len(self._asXml), cSecs, cSecsLast,)); # temporarily while debugging flush/poll problem.
     
    943944        if len(self._asXml) > 0:
    944945            g_oLock.acquire();
    945             self._xmlFlushIfNecessary();
     946            self._xmlFlushIfNecessary(fPolling = True);
    946947            g_oLock.release();
    947948        return None;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette