Lines Matching refs:data

25  -p profile data generated by profile_sdcard.sh
27 ./plot_sdcard.py -t /tmp/data.txt
28 ./plot_sdcard.py -i /tmp/data.txt
33 >>> (metadata, data) = p.Parse('/tmp/data.txt')
34 >>> p.PlotIterations(metadata, data)
35 >>> p.PlotTimes(metadata, data)
48 """Dataset holds the summary and data (time,value pairs)."""
54 self.data = []
61 return str(zip(self.time, self.data))
65 self.data.append(value)
68 factor = len(self.data) / length
75 for t, d in izip(self.time, self.data):
83 self.data = new_data
123 """Parse a file with the collected data.
125 The data must be in 2 rows (x,y).
134 data = [] # array of dataset
154 data.append(dataset)
162 # must be data at this stage
175 data.append(dataset)
180 return (metadata, data)
183 def PlotIterations(metadata, data):
186 If you are plotting data with widely different runtimes you probably want to
197 data: pair of to be plotted.
201 gp('set data style lines')
209 for dataset in data:
211 x = numpy.arange(len(dataset.data), dtype='int_')
215 d = Gnuplot.Data(x, dataset.data,
219 d = Gnuplot.Data(x, dataset.data,
228 def PlotTimes(metadata, data):
233 data: pair of to be plotted.
237 gp('set data style impulses')
246 for dataset in data:
251 d = Gnuplot.Data(x, dataset.data,
255 d = Gnuplot.Data(x, dataset.data,
266 (metadata, data) = Parse('/tmp/sdcard-scalability.txt')
268 gp('set data style impulses')
276 dataset = data[0]
278 d = Gnuplot.Data(x, dataset.data,
292 plot_sdcard.py -i /tmp/data.txt
296 plot_sdcard.py -t /tmp/data.txt
317 (metadata, data) = Parse(args[0])
318 PlotIterations(metadata, data)
321 (metadata, data) = Parse(args[0])
322 PlotTimes(metadata, data)