progress
This commit is contained in:
parent
1f6d3c538f
commit
1dd2e68908
|
@ -160,8 +160,9 @@ void WaveChart::publish() {
|
||||||
*/
|
*/
|
||||||
void WaveChart::addEvent3(const char *name, const char * msg) {
|
void WaveChart::addEvent3(const char *name, const char * msg) {
|
||||||
ScopePerf perf(PE::EngineSniffer);
|
ScopePerf perf(PE::EngineSniffer);
|
||||||
|
efitick_t nowNt = getTimeNowNt();
|
||||||
|
|
||||||
if (getTimeNowNt() < pauseEngineSnifferUntilNt) {
|
if (nowNt < pauseEngineSnifferUntilNt) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#if EFI_TEXT_LOGGING
|
#if EFI_TEXT_LOGGING
|
||||||
|
@ -191,9 +192,6 @@ void WaveChart::addEvent3(const char *name, const char * msg) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
efitick_t nowNt = getTimeNowNt();
|
|
||||||
|
|
||||||
bool alreadyLocked = lockOutputBuffer(); // we have multiple threads writing to the same output buffer
|
bool alreadyLocked = lockOutputBuffer(); // we have multiple threads writing to the same output buffer
|
||||||
|
|
||||||
if (counter == 0) {
|
if (counter == 0) {
|
||||||
|
|
|
@ -27,6 +27,7 @@ public:
|
||||||
void publish();
|
void publish();
|
||||||
bool isFull() const;
|
bool isFull() const;
|
||||||
bool isStartedTooLongAgo() const;
|
bool isStartedTooLongAgo() const;
|
||||||
|
// looks like this is only used by functional tests on real hardware
|
||||||
efitick_t pauseEngineSnifferUntilNt = 0;
|
efitick_t pauseEngineSnifferUntilNt = 0;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue