2023-03-26 16:42:00 +02:00
|
|
|
#ifndef MISSION_UTILITY_TRACE_H_
|
|
|
|
#define MISSION_UTILITY_TRACE_H_
|
2023-02-14 10:59:35 +01:00
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
2023-02-14 14:28:26 +01:00
|
|
|
#define OBSW_THREAD_TRACING 0
|
2023-02-14 11:10:18 +01:00
|
|
|
|
2023-02-14 10:59:35 +01:00
|
|
|
namespace trace {
|
|
|
|
|
2023-02-14 11:11:06 +01:00
|
|
|
void threadTrace(uint32_t& counter, const char* name, unsigned div = 5);
|
2023-02-14 10:59:35 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2023-03-26 16:42:00 +02:00
|
|
|
#endif /* MISSION_UTILITY_TRACE_H_ */
|