Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1cc60149
Commit
1cc60149
authored
Sep 06, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/home/jonas/src/mysql-4.1-ndb
parents
3e3a1ff1
d0b730dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ndb/test/ndbapi/testReadPerf.cpp
ndb/test/ndbapi/testReadPerf.cpp
+3
-2
No files found.
ndb/test/ndbapi/testReadPerf.cpp
View file @
1cc60149
...
@@ -115,6 +115,7 @@ main(int argc, const char** argv){
...
@@ -115,6 +115,7 @@ main(int argc, const char** argv){
}
}
myRandom48Init
(
NdbTick_CurrentMillisecond
());
myRandom48Init
(
NdbTick_CurrentMillisecond
());
memset
(
g_times
,
0
,
sizeof
(
g_times
));
g_ndb
=
new
Ndb
(
"TEST_DB"
);
g_ndb
=
new
Ndb
(
"TEST_DB"
);
if
(
g_ndb
->
init
()
!=
0
){
if
(
g_ndb
->
init
()
!=
0
){
...
@@ -390,6 +391,6 @@ void
...
@@ -390,6 +391,6 @@ void
print_result
(){
print_result
(){
for
(
int
i
=
0
;
i
<
P_OP_TYPES
;
i
++
){
for
(
int
i
=
0
;
i
<
P_OP_TYPES
;
i
++
){
g_err
.
println
(
"%s avg: %u us/row"
,
g_ops
[
i
],
g_err
.
println
(
"%s avg: %u us/row"
,
g_ops
[
i
],
(
1000
*
g_times
[
i
])
/
g_paramters
[
P_RANGE
].
value
);
(
1000
*
g_times
[
i
])
/
(
g_paramters
[
P_RANGE
].
value
*
g_paramters
[
P_LOOPS
].
value
)
);
}
}
}
}
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