def main(argv):

    try:
        logFile = sys.argv[1]
    except IndexError:
        print 'Usage: %s <log file>' % sys.argv[0]
        sys.exit(1)

    spy.findLCMModulesInSysPath()
    
    parser = LCMLogAnalyzer(logFile)
    
    parser.parseLog()
    parser.plotResults()
Exemple #2
0
def main(argv):

    try:
        logFile = sys.argv[1]
    except IndexError:
        print 'Usage: %s <log file>' % sys.argv[0]
        sys.exit(1)

    spy.findLCMModulesInSysPath()

    parser = LCMLogAnalyzer(logFile)

    parser.parseLog()
    parser.plotResults()
def main():

    try:
        logFileDir = sys.argv[1]
    except IndexError:
        print 'Usage: %s <log file directory>' % sys.argv[0]
        sys.exit(1)

    spy.findLCMModulesInSysPath()

    catalogThread = CatalogThread(logFileDir, 'DECKLINK_VIDEO_CAPTURE')
    catalogThread.start()

    serverThread = ServerThread(catalogThread.utimeMap)
    serverThread.start()

    try:
        while True:
            time.sleep(1)
    except KeyboardInterrupt:
        pass
def main():

    try:
        logFileDir = sys.argv[1]
    except IndexError:
        print 'Usage: %s <log file directory>' % sys.argv[0]
        sys.exit(1)

    spy.findLCMModulesInSysPath()

    catalogThread = CatalogThread(logFileDir, 'DECKLINK_VIDEO_CAPTURE')
    catalogThread.start()


    serverThread = ServerThread(catalogThread.utimeMap)
    serverThread.start()

    try:
        while True:
            time.sleep(1)
    except KeyboardInterrupt:
        pass
Exemple #5
0
from director.consoleapp import ConsoleApp
from director import lcmspy
from director import lcmUtils
from director import simpletimer as st

app = ConsoleApp()

app.setupGlobals(globals())

if app.getTestingInteractiveEnabled():
    app.showPythonConsole()


lcmspy.findLCMModulesInSysPath()

timer = st.SimpleTimer()
stats = {}

channelToMsg = {}
items = {}

def item(r, c):
    rowDict = items.setdefault(r, {})
    try:
        return rowDict[c]

    except KeyError:
        i = QtGui.QTableWidgetItem('')
        table.setItem(r, c, i)
        rowDict[c] = i
        return i
from director.consoleapp import ConsoleApp
from director import lcmspy
from director import lcmUtils
from director import simpletimer as st

app = ConsoleApp()

app.setupGlobals(globals())

if app.getTestingInteractiveEnabled():
    app.showPythonConsole()


lcmspy.findLCMModulesInSysPath()

timer = st.SimpleTimer()
stats = {}

channelToMsg = {}
items = {}

def item(r, c):
    rowDict = items.setdefault(r, {})
    try:
        return rowDict[c]

    except KeyError:
        i = QtGui.QTableWidgetItem('')
        table.setItem(r, c, i)
        rowDict[c] = i
        return i