mirror of
https://github.com/google/benchmark.git
synced 2024-11-25 22:47:20 +00:00
Merge pull request #15 from Nukesor/patch-1
Unable to compile because of unused parameter
This commit is contained in:
commit
54cd4fd848
1
AUTHORS
1
AUTHORS
|
@ -8,6 +8,7 @@
|
||||||
#
|
#
|
||||||
# Please keep the list sorted.
|
# Please keep the list sorted.
|
||||||
|
|
||||||
|
Arne Beer <arne@twobeer.de>
|
||||||
Christopher Seymour <chris.j.seymour@hotmail.com>
|
Christopher Seymour <chris.j.seymour@hotmail.com>
|
||||||
David Coeurjolly <david.coeurjolly@liris.cnrs.fr>
|
David Coeurjolly <david.coeurjolly@liris.cnrs.fr>
|
||||||
Dominic Hamon <dma@stripysock.com>
|
Dominic Hamon <dma@stripysock.com>
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#
|
#
|
||||||
# Please keep the list sorted.
|
# Please keep the list sorted.
|
||||||
|
|
||||||
|
Arne Beer <arne@twobeer.de>
|
||||||
Christopher Seymour <chris.j.seymour@hotmail.com>
|
Christopher Seymour <chris.j.seymour@hotmail.com>
|
||||||
David Coeurjolly <david.coeurjolly@liris.cnrs.fr>
|
David Coeurjolly <david.coeurjolly@liris.cnrs.fr>
|
||||||
Dominic Hamon <dma@stripysock.com>
|
Dominic Hamon <dma@stripysock.com>
|
||||||
|
|
|
@ -863,7 +863,7 @@ void Benchmark::RunInstance(const Instance& b, const BenchmarkReporter* br) {
|
||||||
|
|
||||||
// Run the specified benchmark, measure its peak memory usage, and
|
// Run the specified benchmark, measure its peak memory usage, and
|
||||||
// return the peak memory usage.
|
// return the peak memory usage.
|
||||||
double Benchmark::MeasurePeakHeapMemory(const Instance& b) {
|
double Benchmark::MeasurePeakHeapMemory(const Instance&) {
|
||||||
if (!get_memory_usage) return 0.0;
|
if (!get_memory_usage) return 0.0;
|
||||||
double bytes = 0.0;
|
double bytes = 0.0;
|
||||||
/* TODO(dominich)
|
/* TODO(dominich)
|
||||||
|
|
Loading…
Reference in a new issue