This commit is contained in:
laodaming 2023-08-22 10:36:38 +08:00
parent f6d2cf3ee8
commit bfa1d53b44
2 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,7 @@ func (l *RenderNotifyLogic) RenderNotify(req *types.RenderNotifyReq, userinfo *a
//记录收到unity渲染结果时间
ws.modifyRenderTaskTimeConsuming(renderImageControlChanItem{
Option: 2,
TaskId: req.TaskId,
TaskProperty: renderTask{
UnityRenderEndTime: time.Now().UTC().Unix(),
},

View File

@ -181,6 +181,7 @@ func (w *wsConnectItem) assembleRenderData(taskId string, info websocket_data.Re
//记录刀版图合成开始时间
w.modifyRenderTaskTimeConsuming(renderImageControlChanItem{
Option: 2,
TaskId: taskId,
TaskProperty: renderTask{
CombineBeginTime: time.Now().UTC().Unix(),
},
@ -211,6 +212,7 @@ func (w *wsConnectItem) assembleRenderData(taskId string, info websocket_data.Re
//记录刀版图合成结束时间
w.modifyRenderTaskTimeConsuming(renderImageControlChanItem{
Option: 2,
TaskId: taskId,
TaskProperty: renderTask{
CombineEndTime: time.Now().UTC().Unix(),
},
@ -317,6 +319,7 @@ func (w *wsConnectItem) assembleRenderData(taskId string, info websocket_data.Re
//记录发送到unity时间
w.modifyRenderTaskTimeConsuming(renderImageControlChanItem{
Option: 2,
TaskId: taskId,
TaskProperty: renderTask{
UnityRenderBeginTime: time.Now().UTC().Unix(),
},