add instrumentation code
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
@ -23,10 +23,10 @@ ReturnValue_t PersistentLogTmStoreTask::performOperation(uint8_t opCode) {
|
||||
if (fileHasSwapped) {
|
||||
someFileWasSwapped = fileHasSwapped;
|
||||
}
|
||||
if(ctx.vcBusyDuringDump) {
|
||||
if (ctx.vcBusyDuringDump) {
|
||||
vcBusyDuringDump = true;
|
||||
}
|
||||
if(ctx.dumpedBytes - ctx.bytesDumpedAtLastDelay >= 2048) {
|
||||
if (ctx.dumpedBytes - ctx.bytesDumpedAtLastDelay >= 2048) {
|
||||
byteFlowControl = true;
|
||||
ctx.bytesDumpedAtLastDelay = ctx.dumpedBytes;
|
||||
}
|
||||
@ -45,9 +45,9 @@ ReturnValue_t PersistentLogTmStoreTask::performOperation(uint8_t opCode) {
|
||||
TaskFactory::delayTask(100);
|
||||
} else if (someFileWasSwapped) {
|
||||
TaskFactory::delayTask(20);
|
||||
} else if(vcBusyDuringDump) {
|
||||
} else if (vcBusyDuringDump) {
|
||||
TaskFactory::delayTask(20);
|
||||
} else if(byteFlowControl) {
|
||||
} else if (byteFlowControl) {
|
||||
TaskFactory::delayTask(10);
|
||||
} else {
|
||||
// TODO: Lower this as much as possible...
|
||||
|
Reference in New Issue
Block a user