Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
pub
google
benchmark
Commits
cacd3218
Commit
cacd3218
authored
7 years ago
by
Raúl Marín
Committed by
Dominic Hamon
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Avoid implicit float to double conversion (#457)
Triggered by -Werror=double-promotion
parent
05267559
main
v1.5.5
v1.5.4
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.4.1
v1.4.0
v1.3.0
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
AUTHORS
+1
-0
AUTHORS
CONTRIBUTORS
+1
-0
CONTRIBUTORS
src/benchmark.cc
+1
-1
src/benchmark.cc
with
3 additions
and
1 deletion
+3
-1
AUTHORS
+
1
-
0
View file @
cacd3218
...
...
@@ -10,6 +10,7 @@
Albert Pretorius <pretoalb@gmail.com>
Arne Beer <arne@twobeer.de>
Carto
Christopher Seymour <chris.j.seymour@hotmail.com>
David Coeurjolly <david.coeurjolly@liris.cnrs.fr>
Dirac Research
...
...
This diff is collapsed.
Click to expand it.
CONTRIBUTORS
+
1
-
0
View file @
cacd3218
...
...
@@ -50,6 +50,7 @@ Pascal Leroy <phl@google.com>
Paul Redmond <paul.redmond@gmail.com>
Pierre Phaneuf <pphaneuf@google.com>
Radoslav Yovchev <radoslav.tm@gmail.com>
Raul Marin <rmrodriguez@cartodb.com>
Ray Glover <ray.glover@uk.ibm.com>
Shuo Chen <chenshuo@chenshuo.com>
Tobias Ulvgård <tobias.ulvgard@dirac.se>
...
...
This diff is collapsed.
Click to expand it.
src/benchmark.cc
+
1
-
1
View file @
cacd3218
...
...
@@ -491,7 +491,7 @@ void RunBenchmarks(const std::vector<Benchmark::Instance>& benchmarks,
// Print header here
BenchmarkReporter
::
Context
context
;
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
.
name_field_width
=
name_field_width
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets