check_time_usage.py
Go to the documentation of this file.
1 from __future__ import print_function
2 import pandas as pd
3 import sys
4 csvfile = sys.argv[1]
5 
6 #make a dataframe and get the mean value of peak virtual memory in MB
7 df = pd.read_csv(csvfile,sep='\t',names=["Time"],dtype = float, na_values = ['Median','first','ModuleConstruction','(ns)'])
8 df = df.dropna()
9 print("Mean:")
10 print(df["Time"].mean())
11 print("STD:")
12 print(df["Time"].std())
13 print("Size:")
14 print(df["Time"].size)
bool print