Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overload operators for Sink/Source #34

Merged
merged 2 commits into from Oct 15, 2021

Conversation

aentinger
Copy link
Contributor

@aentinger aentinger commented Oct 15, 2021

In order to equalise interfaces between Shared and Sink/Source semantics.

@aentinger aentinger added the type: enhancement Proposed improvement label Oct 15, 2021
@aentinger aentinger self-assigned this Oct 15, 2021
@github-actions
Copy link

Memory usage change @ e0b3f9f

Board flash % RAM for global variables %
arduino:mbed_nano:nano33ble 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_portenta:envie_m4 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_portenta:envie_m7 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/Threading/Demo_Shared_Counter
flash
% examples/Threading/Demo_Shared_Counter
RAM for global variables
% examples/Threading/Demo_Source_Sink_Counter
flash
% examples/Threading/Demo_Source_Sink_Counter
RAM for global variables
% examples/Threading/Demo_Source_Sink_LED
flash
% examples/Threading/Demo_Source_Sink_LED
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_SPI
flash
% examples/Threadsafe_IO/Threadsafe_SPI
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_SPI_BusIO
flash
% examples/Threadsafe_IO/Threadsafe_SPI_BusIO
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_Serial_GlobalPrefixSuffix
flash
% examples/Threadsafe_IO/Threadsafe_Serial_GlobalPrefixSuffix
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_Serial_ProtocolWrapping
flash
% examples/Threadsafe_IO/Threadsafe_Serial_ProtocolWrapping
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_Serial_Reader
flash
% examples/Threadsafe_IO/Threadsafe_Serial_Reader
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_Serial_Writer
flash
% examples/Threadsafe_IO/Threadsafe_Serial_Writer
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_Wire
flash
% examples/Threadsafe_IO/Threadsafe_Wire
RAM for global variables
% examples/Threadsafe_IO/Threadsafe_Wire_BusIO
flash
% examples/Threadsafe_IO/Threadsafe_Wire_BusIO
RAM for global variables
%
arduino:mbed_nano:nano33ble 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nano:nanorp2040connect 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_portenta:envie_m4 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_portenta:envie_m7 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
Click for full report CSV
Board,examples/Threading/Demo_Shared_Counter<br>flash,%,examples/Threading/Demo_Shared_Counter<br>RAM for global variables,%,examples/Threading/Demo_Source_Sink_Counter<br>flash,%,examples/Threading/Demo_Source_Sink_Counter<br>RAM for global variables,%,examples/Threading/Demo_Source_Sink_LED<br>flash,%,examples/Threading/Demo_Source_Sink_LED<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_SPI<br>flash,%,examples/Threadsafe_IO/Threadsafe_SPI<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_SPI_BusIO<br>flash,%,examples/Threadsafe_IO/Threadsafe_SPI_BusIO<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_Serial_GlobalPrefixSuffix<br>flash,%,examples/Threadsafe_IO/Threadsafe_Serial_GlobalPrefixSuffix<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_Serial_ProtocolWrapping<br>flash,%,examples/Threadsafe_IO/Threadsafe_Serial_ProtocolWrapping<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_Serial_Reader<br>flash,%,examples/Threadsafe_IO/Threadsafe_Serial_Reader<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_Serial_Writer<br>flash,%,examples/Threadsafe_IO/Threadsafe_Serial_Writer<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_Wire<br>flash,%,examples/Threadsafe_IO/Threadsafe_Wire<br>RAM for global variables,%,examples/Threadsafe_IO/Threadsafe_Wire_BusIO<br>flash,%,examples/Threadsafe_IO/Threadsafe_Wire_BusIO<br>RAM for global variables,%
arduino:mbed_nano:nano33ble,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nano:nanorp2040connect,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_portenta:envie_m4,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_portenta:envie_m7,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0

@aentinger aentinger merged commit 0679ae8 into main Oct 15, 2021
@aentinger aentinger deleted the overload-operators-for-sink-source branch October 15, 2021 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant