fix(UML-1462): Добавлены неймспейсы и сообщения заменены на варнинги
Some checks are pending
Gitea_organization/sitara_depot/pipeline/head Build queued...

This commit is contained in:
algin 2023-08-10 18:04:33 +03:00
parent 5b1b6b1538
commit a842451322
2 changed files with 10 additions and 10 deletions

View File

@ -153,7 +153,7 @@ void EthEcatPdoFMMU::process() {
#if PROFILE_LEVEL > 0
{
#pragma message ( "Profiling for RPDO subscribers is enabled !" )
#warning ( "Profiling for RPDO subscribers is enabled !" )
PROFILE(process_read_queue, PROFILE_SAMPLES, 0);
@ -165,7 +165,7 @@ void EthEcatPdoFMMU::process() {
#if PROFILE_LEVEL > 0
{
#pragma message ( "Profiling for process callback is enabled !" )
#warning ( "Profiling for process callback is enabled !" )
PROFILE(callback_, PROFILE_SAMPLES, 0);
@ -181,7 +181,7 @@ void EthEcatPdoFMMU::process() {
#if PROFILE_LEVEL > 0
{
#pragma message ( "Profiling for TPDO subscribers is enabled !" )
#warning ( "Profiling for TPDO subscribers is enabled !" )
PROFILE(process_write_queue, PROFILE_SAMPLES, 0);
@ -220,7 +220,7 @@ void EthEcatPdoFMMU::process_fake(uint32_t period_microsec, ecat_pdo_fmmu::Proce
#if PROFILE_LEVEL > 0
{
#pragma message ( "Profiling for RPDO subscribers is enabled !" )
#warning ( "Profiling for RPDO subscribers is enabled !" )
PROFILE(process_read_queue, PROFILE_SAMPLES, 0);
@ -232,7 +232,7 @@ void EthEcatPdoFMMU::process_fake(uint32_t period_microsec, ecat_pdo_fmmu::Proce
#if PROFILE_LEVEL > 0
{
#pragma message ( "Profiling for process callback is enabled !" )
#warning ( "Profiling for process callback is enabled !" )
PROFILE(callback_, PROFILE_SAMPLES, 0);
@ -248,7 +248,7 @@ void EthEcatPdoFMMU::process_fake(uint32_t period_microsec, ecat_pdo_fmmu::Proce
#if PROFILE_LEVEL > 0
{
#pragma message ( "Profiling for TPDO subscribers is enabled !" )
#warning ( "Profiling for TPDO subscribers is enabled !" )
PROFILE(process_write_queue, PROFILE_SAMPLES, 0);

View File

@ -17,12 +17,12 @@
namespace free_rtos {
#define PROFILE(name, size, id) static QuickProfiler<size> name##_profiler{#name}; \
QuickProfilerItem<size> name##_profile_item_##id{name##_profiler}
#define PROFILE(name, size, id) static free_rtos::QuickProfiler<size> name##_profiler{#name}; \
free_rtos::QuickProfilerItem<size> name##_profile_item_##id{name##_profiler}
#define CREATE_PROFILER(name, size) static QuickProfiler<size> name##_profiler{#name};
#define CREATE_PROFILER(name, size) static free_rtos::QuickProfiler<size> name##_profiler{#name};
#define ADD_PROFILE_ITEM(name, size, id) QuickProfilerItem<size> name##_profile_item_##id{name##_profiler}
#define ADD_PROFILE_ITEM(name, size, id) free_rtos::QuickProfilerItem<size> name##_profile_item_##id{name##_profiler}
static void QuickProfiler_init(const uint64_t cpuFreqHz) {
CycleCounterP_init(cpuFreqHz);