2023-03-26 16:42:00 +02:00
|
|
|
#include <mission/utility/trace.h>
|
2023-02-14 10:59:35 +01:00
|
|
|
|
|
|
|
#include "fsfw/serviceinterface.h"
|
|
|
|
|
2023-02-14 11:11:06 +01:00
|
|
|
void trace::threadTrace(uint32_t& counter, const char* name, unsigned div) {
|
2023-02-14 10:59:35 +01:00
|
|
|
counter++;
|
2023-02-14 11:11:06 +01:00
|
|
|
if (counter % div == 0) {
|
2023-02-14 10:59:35 +01:00
|
|
|
sif::debug << name << " running" << std::endl;
|
|
|
|
}
|
|
|
|
}
|