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