mirror of
https://github.com/logos-blockchain/logos-blockchain-simulations.git
synced 2026-01-30 19:03:18 +00:00
14 lines
422 B
Python
14 lines
422 B
Python
import argparse
|
|
|
|
from queuesim.statistics import calculate_session_stats
|
|
|
|
if __name__ == "__main__":
|
|
parser = argparse.ArgumentParser(
|
|
description="Calculate statistics for a session.",
|
|
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
|
)
|
|
parser.add_argument("--dir", type=str, required=True, help="session directory")
|
|
args = parser.parse_args()
|
|
|
|
calculate_session_stats(args.dir)
|