aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2015-07-24 17:39:56 -0700
committerDoug Evans <xdje42@gmail.com>2015-07-24 17:42:18 -0700
commitca3084f54b62ce06c6e70a6e1daafeb5e3317c12 (patch)
treef69ca496edcc252db1d01a348c4ff11fe91ced3f /gdb
parentf7d3050b1966fcc3d4cf7ddb9d0a8ca741e50d26 (diff)
downloadgdb-ca3084f54b62ce06c6e70a6e1daafeb5e3317c12.zip
gdb-ca3084f54b62ce06c6e70a6e1daafeb5e3317c12.tar.gz
gdb-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')
-rw-r--r--gdb/testsuite/ChangeLog7
-rw-r--r--gdb/testsuite/gdb.perf/lib/perftest/measure.py6
2 files changed, 0 insertions, 13 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5371cae..3a00c23 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
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))