Deleted Added
sdiff udiff text old ( 1934:84c12fdd57f9 ) new ( 2006:3ca085495c69 )
full compact
1# Copyright (c) 2003-2004 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 141 unchanged lines hidden (view full) ---

150 self.bins = None
151 self.ticks = None
152 self.method = 'sum'
153 self._method = type(self).sum
154
155 def get(self, job, stat):
156 run = self.allRunNames.get(job.name, None)
157 if run is None:
158 return None
159
160 from info import scalar, vector, value, values, total, len
161 stat.system = self[job.system]
162 if scalar(stat):
163 return value(stat, run.run)
164 if vector(stat):
165 return values(stat, run.run)

--- 333 unchanged lines hidden ---