* 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
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."""
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."""
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))