Exemple #1
0
void WaveChart::publish() {
	appendPrintf(&logging, DELIMETER);
	waveChartUsedSize = loggingSize(&logging);
#if DEBUG_WAVE
	Logging *l = &chart->logging;
	scheduleSimpleMsg(&debugLogging, "IT'S TIME", strlen(l->buffer));
#endif
	bool isFullLog = getFullLog();
	if (ENGINE(isEngineChartEnabled) && isFullLog) {
		scheduleLogging(&logging);
	}
}
Exemple #2
0
void publishChart(WaveChart *chart) {
	appendPrintf(&chart->logging, DELIMETER);
	waveChartUsedSize = loggingSize(&chart->logging);
#if DEBUG_WAVE
	Logging *l = &chart->logging;
	scheduleSimpleMsg(&debugLogging, "IT'S TIME", strlen(l->buffer));
#endif
	bool isFullLog = getFullLog();
	if (isChartActive && isFullLog) {
		scheduleLogging(&chart->logging);
	}
}
Exemple #3
0
uint32_t remainingSize(Logging *logging) {
	return logging->bufferSize - loggingSize(logging);
}