From dd56c126c4e2ac2b309e05b47aa9477dee8ed318 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期一, 13 一月 2020 09:44:58 +0800 Subject: [PATCH] debug --- run.go | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/run.go b/run.go index dc0ccfd..023e949 100644 --- a/run.go +++ b/run.go @@ -195,6 +195,7 @@ for _, msg := range msgs { if c, ok := f.channelExist(msg.Cid); ok { + f.fnLogger("######recv from :", msg.Cid, " Chan:", c.index) c.msgs.Push(msg) } else { @@ -235,7 +236,6 @@ } return default: - f.fnLogger("DETECTTRACKONECHN DTCHN: ", dtchn) elems := c.msgs.Drain() var msgs []protomsg.SdkMessage @@ -264,9 +264,13 @@ // conv to bgr24 and resize imgW, imgH := int(i.Width), int(i.Height) + f.fnLogger("######run cid:", rMsg.Cid, "chan: ", dtchn) count, data, _ := f.handle.Run(i.Data, imgW, imgH, 3, dtchn) + f.fnLogger("######over run cid:", rMsg.Cid, "chan: ", dtchn) + f.fnLogger("######eject cid:", rMsg.Cid, "chan: ", dtchn) sdkhelper.EjectResult(data, rMsg, out) + f.fnLogger("######over eject cid:", rMsg.Cid, "chan: ", dtchn) var id, name string if rMsg.Tasklab != nil { -- Gitblit v1.8.0