MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / main

Function main

tools/python-3.11.9-amd64/Tools/scripts/summarize_stats.py:341–352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339 )
340
341def main():
342 stats = gather_stats()
343 opcode_stats = extract_opcode_stats(stats)
344 total = get_total(opcode_stats)
345 emit_execution_counts(opcode_stats, total)
346 emit_pair_counts(opcode_stats, total)
347 emit_specialization_stats(opcode_stats)
348 emit_specialization_overview(opcode_stats, total)
349 emit_call_stats(stats)
350 emit_object_stats(stats)
351 print("---")
352 print("Stats gathered on:", date.today())
353
354if __name__ == "__main__":
355 main()

Callers 1

summarize_stats.pyFile · 0.70

Calls 11

gather_statsFunction · 0.85
extract_opcode_statsFunction · 0.85
get_totalFunction · 0.85
emit_execution_countsFunction · 0.85
emit_pair_countsFunction · 0.85
emit_call_statsFunction · 0.85
emit_object_statsFunction · 0.85
todayMethod · 0.80
printFunction · 0.50

Tested by

no test coverage detected