summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f005f32)
raw | patch | inline | side by side (parent: f005f32)
author | Govind Jeyaram <govind.j@ti.com> | |
Tue, 18 Jul 2017 00:32:08 +0000 (17:32 -0700) | ||
committer | Govind Jeyaram <govind.j@ti.com> | |
Tue, 18 Jul 2017 00:32:08 +0000 (17:32 -0700) |
pasdk/test_dsp/mob/mob.c | patch | blob | history |
index 173b1d14bd30ea7847b26323869262c4b0307c7e..7eac297a288dba5f215aea8a1e66faf53df6c973 100644 (file)
--- a/pasdk/test_dsp/mob/mob.c
+++ b/pasdk/test_dsp/mob/mob.c
// GJ Debug Counters
Uint32 gMobStart_Idle=0;
-Uint32 gMobIdle_ClocksElse=0;
-Uint32 gMobIdle_ClocksIf=0;
+Uint32 gMobIdle_Ctrl=0;
+Uint32 gMobIdle_API=0;
Uint32 gMobOutRateX_Cnt=0;
Uint32 gMobStart_Open=0;
Uint32 gMobStart_Clocks=0;
if (status)
return status;
+ Log_info0("MOB: Inside PAF_SIO_CONTROL_OUTPUT_START_CLOCKS, starting output clocks ");
status = DOB_FTABLE_startClocks (device);
gMobStart_Idle++;
}
if (pDevExt->state == DOB_STATE_IDLE)
return SYS_OK;
+ gMobIdle_Ctrl++;
+
if (arg) {
// flush data (and keep clocks)
DOB_FTABLE_shutdown (device);
- gMobIdle_ClocksIf++;
+ //gMobIdle_ClocksIf++;
status = DEV2_ctrl (pChild, PAF_SIO_CONTROL_IDLE_WITH_CLOCKS, arg);
if (!status)
pDevExt->state = DOB_STATE_CLOCKING;
// truncate data (stops clocks)
DEV2_idle (device, 0);
status = DEV2_ctrl (pChild, code, arg);
- gMobIdle_ClocksElse++;
+ //gMobIdle_ClocksElse++;
}
break;
DEV2_Handle pChild = (DEV2_Handle)&pDevExt->child;
Int status;
+ gMobIdle_API++;
status = DEV2_idle (pChild, flush);
if (status != SYS_OK)
// specify minimal transfer size while still maintaining channel alignment
//xferSize = numChan * wordSize * 1;
- xferSize = numChan * wordSize * 4; // GJ: Experiment with longer startup transfers
+ xferSize = numChan * wordSize * 1; // GJ: Experiment with longer startup transfers
pChildFrame = Queue_get (Queue_handle(&((SIO2_Handle)pChild)->framelist));
if (pChildFrame == (DEV2_Frame *)&((SIO2_Handle)pChild)->framelist)