Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
cacd3218
Commit
cacd3218
authored
Oct 13, 2017
by
Raúl Marín
Committed by
Dominic Hamon
Oct 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid implicit float to double conversion (#457)
Triggered by -Werror=double-promotion
parent
05267559
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
AUTHORS
AUTHORS
+1
-0
CONTRIBUTORS
CONTRIBUTORS
+1
-0
benchmark.cc
src/benchmark.cc
+1
-1
No files found.
AUTHORS
View file @
cacd3218
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
Albert Pretorius <pretoalb@gmail.com>
Albert Pretorius <pretoalb@gmail.com>
Arne Beer <arne@twobeer.de>
Arne Beer <arne@twobeer.de>
Carto
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>
Dirac Research
Dirac Research
...
...
CONTRIBUTORS
View file @
cacd3218
...
@@ -50,6 +50,7 @@ Pascal Leroy <phl@google.com>
...
@@ -50,6 +50,7 @@ Pascal Leroy <phl@google.com>
Paul Redmond <paul.redmond@gmail.com>
Paul Redmond <paul.redmond@gmail.com>
Pierre Phaneuf <pphaneuf@google.com>
Pierre Phaneuf <pphaneuf@google.com>
Radoslav Yovchev <radoslav.tm@gmail.com>
Radoslav Yovchev <radoslav.tm@gmail.com>
Raul Marin <rmrodriguez@cartodb.com>
Ray Glover <ray.glover@uk.ibm.com>
Ray Glover <ray.glover@uk.ibm.com>
Shuo Chen <chenshuo@chenshuo.com>
Shuo Chen <chenshuo@chenshuo.com>
Tobias Ulvgård <tobias.ulvgard@dirac.se>
Tobias Ulvgård <tobias.ulvgard@dirac.se>
...
...
src/benchmark.cc
View file @
cacd3218
...
@@ -491,7 +491,7 @@ void RunBenchmarks(const std::vector<Benchmark::Instance>& benchmarks,
...
@@ -491,7 +491,7 @@ void RunBenchmarks(const std::vector<Benchmark::Instance>& benchmarks,
// Print header here
// Print header here
BenchmarkReporter
::
Context
context
;
BenchmarkReporter
::
Context
context
;
context
.
num_cpus
=
NumCPUs
();
context
.
num_cpus
=
NumCPUs
();
context
.
mhz_per_cpu
=
CyclesPerSecond
()
/
1000000.0
f
;
context
.
mhz_per_cpu
=
CyclesPerSecond
()
/
1000000.0
;
context
.
cpu_scaling_enabled
=
CpuScalingEnabled
();
context
.
cpu_scaling_enabled
=
CpuScalingEnabled
();
context
.
name_field_width
=
name_field_width
;
context
.
name_field_width
=
name_field_width
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment