I see that when you run the example, it will print out the run time. However, I don’t need it. How can I remove it?
The relevant code in the example is as follows:
IRuntime* runtime = createInferRuntime(gLogger);
ICudaEngine* engine = runtime->deserializeCudaEngine(engine_buffer.get(), engine_buffer_size, &pluginFactory);
…
engine->destroy();
runtime->destroy();