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
d2fbd4a5
Commit
d2fbd4a5
authored
Nov 13, 2012
by
John Esmet
Committed by
Yoni Fogel
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refs #5351 remove printf
git-svn-id:
file:///svn/toku/tokudb@49916
c7de825b-a66e-492c-adef-691d508d4ae1
parent
6025ae4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
locktree/tests/locktree_simple_lock.cc
locktree/tests/locktree_simple_lock.cc
+0
-4
No files found.
locktree/tests/locktree_simple_lock.cc
View file @
d2fbd4a5
...
@@ -140,8 +140,6 @@ void locktree_unit_test::test_simple_lock(void) {
...
@@ -140,8 +140,6 @@ void locktree_unit_test::test_simple_lock(void) {
invariant
(
r
==
0
);
invariant
(
r
==
0
);
}
}
t1
=
current_time_usec
();
t1
=
current_time_usec
();
printf
(
PRId64
" locks acquired in %zd usec, %lf locks/sec
\n
"
,
num_locks
,
t1
-
t0
,
num_locks
/
((
t1
-
t0
*
1.0
)
/
1000000
));
t0
=
current_time_usec
();
t0
=
current_time_usec
();
for
(
int64_t
i
=
0
;
i
<
num_locks
;
i
++
)
{
for
(
int64_t
i
=
0
;
i
<
num_locks
;
i
++
)
{
...
@@ -149,8 +147,6 @@ void locktree_unit_test::test_simple_lock(void) {
...
@@ -149,8 +147,6 @@ void locktree_unit_test::test_simple_lock(void) {
lt
->
remove_overlapping_locks_for_txnid
(
txnid_a
,
&
k
,
&
k
);
lt
->
remove_overlapping_locks_for_txnid
(
txnid_a
,
&
k
,
&
k
);
}
}
t1
=
current_time_usec
();
t1
=
current_time_usec
();
printf
(
PRId64
" locks released in %zd usec, %lf locks/sec
\n
"
,
num_locks
,
t1
-
t0
,
num_locks
/
((
t1
-
t0
*
1.0
)
/
1000000
));
toku_free
(
keys
);
toku_free
(
keys
);
...
...
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