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