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
a24ef95e
Commit
a24ef95e
authored
May 24, 2016
by
Ismael
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapt complexity_n to leastsq inteface
parent
64d72ee7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
reporter.h
include/benchmark/reporter.h
+1
-1
benchmark.cc
src/benchmark.cc
+1
-1
No files found.
include/benchmark/reporter.h
View file @
a24ef95e
...
@@ -70,7 +70,7 @@ class BenchmarkReporter {
...
@@ -70,7 +70,7 @@ class BenchmarkReporter {
// Keep track of arguments to compute asymptotic complexity
// Keep track of arguments to compute asymptotic complexity
BigO
complexity
;
BigO
complexity
;
size_
t
complexity_n
;
in
t
complexity_n
;
// Inform print function whether the current run is a complexity report
// Inform print function whether the current run is a complexity report
bool
report_big_o
;
bool
report_big_o
;
...
...
src/benchmark.cc
View file @
a24ef95e
...
@@ -119,7 +119,7 @@ struct ThreadStats {
...
@@ -119,7 +119,7 @@ struct ThreadStats {
ThreadStats
()
:
bytes_processed
(
0
),
items_processed
(
0
),
complexity_n
(
0
)
{}
ThreadStats
()
:
bytes_processed
(
0
),
items_processed
(
0
),
complexity_n
(
0
)
{}
int64_t
bytes_processed
;
int64_t
bytes_processed
;
int64_t
items_processed
;
int64_t
items_processed
;
size_t
complexity_n
;
int
complexity_n
;
};
};
// Timer management class
// Timer management class
...
...
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