|
|
@@ -771,7 +771,7 @@ ErrorCodeEnum CFingerPrintFSM::Match(SpReqAnsContext<FingerPrintService_Match_Re
|
|
|
strcpy((char*)lpbTemplates[i], ctx->Req.templates[i]);
|
|
|
lpbTemplateLen[i] = ctx->Req.templateLen[i];
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
clock_t startMatch = clock();
|
|
|
eErr = m_pFingerPrint->Match(lpbTemplates, lpbTemplateLen, templateNum, lpbFeature, lpbLength);
|
|
|
clock_t endMatch = clock();
|
|
|
@@ -871,7 +871,7 @@ ErrorCodeEnum CFingerPrintFSM::GetDevState(int &state)
|
|
|
|
|
|
CSimpleString CFingerPrintFSM::GenerateAlarmJson(CSimpleString entityName, int cost)
|
|
|
{
|
|
|
- return CSimpleString::Format("[{\"name\":\"%s\",\"time\":\"%s\",\"cost\":%d}]"
|
|
|
+ return CSimpleString::Format("[{\"name\":\"%s\",\"cost\":%d}]"
|
|
|
, entityName.GetData(), cost);
|
|
|
}
|
|
|
|