Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d109bd09
authored
May 27, 2015
by
Christian Kern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed more cpplint warnings
parent
6cea87d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mtapi_c/test/embb_mtapi_test_id_pool.cc
+1
-1
mtapi_c/test/embb_mtapi_test_id_pool.h
+1
-1
mtapi_c/test/main.cc
+1
-1
No files found.
mtapi_c/test/embb_mtapi_test_id_pool.cc
View file @
d109bd09
...
...
@@ -59,7 +59,7 @@ void IdPoolTest::TestParallelPost() {
// elements sequentially.
TestAllocateDeallocateNElementsFromPool
(
id_pool_parallel
,
concurrent_accessors_id_pool_2
*
id_elements_per_accessor
,
true
);
// finalize pool
embb_mtapi_id_pool_finalize
(
&
id_pool_parallel
);
}
...
...
mtapi_c/test/embb_mtapi_test_id_pool.h
View file @
d109bd09
...
...
@@ -44,7 +44,7 @@ class IdPoolTest : public partest::TestCase {
static
const
unsigned
int
id_pool_size_1
=
100
;
static
const
unsigned
int
concurrent_accessors_id_pool_2
=
10
;
static
const
unsigned
int
id_elements_per_accessor
=
10
;
/**
* We create a pool of size number_accessors*elements_per_accessor, so
* at each time we can guarantee each thread to be able to allocate
...
...
mtapi_c/test/main.cc
View file @
d109bd09
...
...
@@ -52,6 +52,6 @@ PT_MAIN("MTAPI C") {
PT_RUN
(
GroupTest
);
PT_RUN
(
QueueTest
);
PT_RUN
(
IdPoolTest
);
PT_EXPECT
(
embb_get_bytes_allocated
()
==
0
);
}
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