diff options
author | Doug Evans <xdje42@gmail.com> | 2015-07-24 17:39:56 -0700 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2015-07-24 17:42:18 -0700 |
commit | ca3084f54b62ce06c6e70a6e1daafeb5e3317c12 (patch) | |
tree | f69ca496edcc252db1d01a348c4ff11fe91ced3f /gdb/testsuite/gdb.perf | |
parent | f7d3050b1966fcc3d4cf7ddb9d0a8ca741e50d26 (diff) | |
download | binutils-ca3084f54b62ce06c6e70a6e1daafeb5e3317c12.zip binutils-ca3084f54b62ce06c6e70a6e1daafeb5e3317c12.tar.gz binutils-ca3084f54b62ce06c6e70a6e1daafeb5e3317c12.tar.bz2 |
Revert 4fd4095a5ffe3d4e50e0dac5f8ad37b8478afa9d, 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.
Diffstat (limited to 'gdb/testsuite/gdb.perf')
-rw-r--r-- | gdb/testsuite/gdb.perf/lib/perftest/measure.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.perf/lib/perftest/measure.py b/gdb/testsuite/gdb.perf/lib/perftest/measure.py index f14b87f..f0ecd48 100644 --- a/gdb/testsuite/gdb.perf/lib/perftest/measure.py +++ b/gdb/testsuite/gdb.perf/lib/perftest/measure.py @@ -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)) |