Home
last modified time | relevance | path

Searched refs:stat_tsc (Results 1 – 1 of 1) sorted by relevance

/misc/debug_tools/acrn_trace/scripts/
A Dcpuusage_analyze.py14 stat_tsc = 0 variable
36 global stat_tsc, cpu_id, time_vm_running, count_all_trace, count_sched_trace
102 stat_tsc = tsc_end - tsc_begin
103 assert stat_tsc != 0, "total_run_time in statistic is 0,\
114 % (time_ambiguous, float(time_ambiguous)*100/stat_tsc))
128 global stat_tsc, cpu_id, time_vm_running, count_all_trace, count_sched_trace
138 stat_sec = float(stat_tsc) / (float(freq) * 1000 * 1000)
139 print ("Total run time: %d cpu cycles" % (stat_tsc))
146 f_csv.writerow(['%d' % (stat_tsc),
160 run_per = float(run_tsc) * 100 / float(stat_tsc)

Completed in 3 milliseconds