"vscode:/vscode.git/clone" did not exist on "2aa25de209f9597eb6027d3e4287603a25538b2d"
Commit 7f6cf8f5 authored by mayong's avatar mayong
Browse files

Bugfix: RTF.

parent 5737fff6
......@@ -12,12 +12,6 @@ extern "C" {
_RAPIDASRAPI RPASR_HANDLE RapidAsrInit(const char* szModelDir, int nThreadNum)
{
#ifdef NDEBUG
QMLIC_BOOL bMatched = QmLicCheckValid(QLFM_ASR);
if (!bMatched) {
return nullptr;
}
#endif
Model* mm = create_model(szModelDir, nThreadNum);
......
......@@ -59,6 +59,8 @@ int main(int argc, char *argv[])
cout <<("no return data!");
}
printf("Audio length %lfs.\n", (double)snippet_time);
seconds = (end.tv_sec - start.tv_sec);
long taking_micros = ((seconds * 1000000) + end.tv_usec) - (start.tv_usec);
printf("Model inference takes %lfs.\n", (double)taking_micros / 1000000);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment