#!/usr/bin/python3 import sta ###################################### # Sched Trace Analyzer LaunchPad # ###################################### def main(): # A sample trace trace = sta.Trace(g6_list) trace.filter("pid==4125") trace.sort('job') trace.print_count(True) trace.print_records() #Some other things you can do (old commands I've used) #trace.filter("exec_time>8828") #trace.filter("job==12") #trace.filter("when>2000000000") #trace.filter("when<2500000000") #trace.filter("forced?==True") #trace.filter("type==1") #trace.filter("type!=3") ###################################### # Put lists of your trace files here # ###################################### path = '/home/mollison/sta/traces/' full_list = [ path + 'st-g6-0.bin', path + 'st-g6-1.bin', path + 'st-g6-2.bin', path + 'st-g6-3.bin', path + 'st-x19-0.bin', path + 'st-x19-1.bin', path + 'st-x19-2.bin', path + 'st-x19-3.bin', path + 'st0.fg', path + 'st1.fg'] short_list = [ path + 'st-x19-2.bin'] g6_list = [ path + 'st-g6-0.bin', path + 'st-g6-1.bin', path + 'st-g6-2.bin', path + 'st-g6-3.bin'] x19_list = [ path + 'st-x19-0.bin', path + 'st-x19-1.bin', path + 'st-x19-2.bin', path + 'st-x19-3.bin'] simple_list = [ path + 'st0.fg', path + 'st1.fg'] ############## # start main # ############## if __name__=='__main__': main()