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
d405a2af
authored
9 years ago
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base_cpp: removed redundant assignment in test
parent
0456ebc8
global_scheduling
…
development
embb375_dataflow_priorities_and_affinities
embb413_network_plugin_improvements
embb428_cuda_plugin
embb456_zip_release_files
embb458_mtapi_initialization
embb499_blocking_data_structures
embb516_threadsanitizer
embb517_mutex_based_atomics
embb533_worker_thread_os_priorities
embb546_low_performance_on_arm
embb555_blocking_queue
embb556_blocking_stack
embb561_solving_warnings
embb562_install_pdb_files
embb566_blocking_set
embb567_documentation_condition_variable
embb570_blocking_priority_queue
embb571_blocking_map
embb580_extend_changelog
embb581_mtapi_task_wait_timing_fix
embb582_contributing_readme_file
embb603_outdated_headers
embb607_error_with_include_file
embb609_doxygen_warnings
master
v0.4.0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
base_cpp/test/atomic_test.cc
+0
-4
No files found.
base_cpp/test/atomic_test.cc
View file @
d405a2af
...
@@ -173,10 +173,6 @@ AtomicTest::TestStressSwap::TestStressSwap(
...
@@ -173,10 +173,6 @@ AtomicTest::TestStressSwap::TestStressSwap(
size_t
number_threads
,
size_t
number_iterations
)
size_t
number_threads
,
size_t
number_iterations
)
:
TestUnit
(
"Swap Stress test for Atomics"
),
swap1_counter
(
1
)
:
TestUnit
(
"Swap Stress test for Atomics"
),
swap1_counter
(
1
)
,
swap2_counter
(
2
)
{
,
swap2_counter
(
2
)
{
bitsets
[
0
]
=
std
::
bitset
<
ATOMIC_TESTS_ITERATIONS
*
2
+
1
>
();
bitsets
[
1
]
=
std
::
bitset
<
ATOMIC_TESTS_ITERATIONS
*
2
+
1
>
();
bitsets
[
2
]
=
std
::
bitset
<
ATOMIC_TESTS_ITERATIONS
*
2
+
1
>
();
PT_ASSERT
(
number_threads
==
1
);
PT_ASSERT
(
number_threads
==
1
);
Pre
(
&
TestStressSwap
::
Init
,
this
);
Pre
(
&
TestStressSwap
::
Init
,
this
);
...
...
This diff is collapsed.
Click to expand it.
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