mirror of https://github.com/thesofproject/sof.git
logger: print the value of a negative DELTA when there is one
Because why not. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
be7bed9ddf
commit
d641558ef0
|
@ -457,7 +457,8 @@ static void print_entry_params(const struct log_entry_header *dma_log,
|
||||||
|
|
||||||
if (dma_log->timestamp < last_timestamp) {
|
if (dma_log->timestamp < last_timestamp) {
|
||||||
fprintf(out_fd,
|
fprintf(out_fd,
|
||||||
"\n\t\t --- negative DELTA: wrap, IPC_TRACE, other? ---\n\n");
|
"\n\t\t --- negative DELTA = %.3f us: wrap, IPC_TRACE, other? ---\n\n",
|
||||||
|
-to_usecs(last_timestamp - dma_log->timestamp));
|
||||||
entry_number = 1;
|
entry_number = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue