Revert 4fd4095a5f
, log individual measurements.
I think I lost a patch along the way, because I remember needing something like this, but the reverted patch isn't the right way to do this. Removing ... gdb/testsuite/ChangeLog: * gdb.perf/lib/perftest/measure.py (MeasurementCpuTime::stop): Print result. (MeasurementWallTime::stop): Ditto. (MeasurementVmSizeTime::stop): Ditto.
This commit is contained in:
parent
f7d3050b19
commit
ca3084f54b
|
@ -52,13 +52,6 @@
|
|||
* lib/gdb.exp (gdb_compile): Undo debian's change in default of
|
||||
--as-needed.
|
||||
|
||||
2015-07-24 Doug Evans <dje@google.com>
|
||||
|
||||
* gdb.perf/lib/perftest/measure.py (MeasurementCpuTime::stop): Print
|
||||
result.
|
||||
(MeasurementWallTime::stop): Ditto.
|
||||
(MeasurementVmSizeTime::stop): Ditto.
|
||||
|
||||
2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
|
||||
|
||||
* gdb.base/catch-syscall.exp: Call gdb_exit before
|
||||
|
|
|
@ -103,8 +103,6 @@ class MeasurementCpuTime(Measurement):
|
|||
else:
|
||||
cpu_time = time.clock() - self.start_time
|
||||
self.result.record (id, cpu_time)
|
||||
# Log this result for debugging purposes.
|
||||
print ("elapsed cpu time %s" % (cpu_time))
|
||||
|
||||
class MeasurementWallTime(Measurement):
|
||||
"""Measurement on Wall time."""
|
||||
|
@ -119,8 +117,6 @@ class MeasurementWallTime(Measurement):
|
|||
def stop(self, id):
|
||||
wall_time = time.time() - self.start_time
|
||||
self.result.record (id, wall_time)
|
||||
# Log this result for debugging purposes.
|
||||
print ("elapsed wall time %s" % (wall_time))
|
||||
|
||||
class MeasurementVmSize(Measurement):
|
||||
"""Measurement on memory usage represented by VmSize."""
|
||||
|
@ -148,5 +144,3 @@ class MeasurementVmSize(Measurement):
|
|||
def stop(self, id):
|
||||
memory_used = self._compute_process_memory_usage("VmSize:")
|
||||
self.result.record (id, memory_used)
|
||||
# Log this result for debugging purposes.
|
||||
print ("vm used %s" % (memory_used))
|
||||
|
|
Loading…
Reference in New Issue