Obtaining the Current Queue Size of a Specified Port of the Engine
Obtains the queue size of a specified port of the engine. This API is defined in engine.h.
Syntax
const uint32_t Engine::GetQueueCurrentSize(const uint32_t portID);
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
portID |
Port ID |
- |
Return Value
Queue size corresponding to the port ID of the engine
Calling Example
uint32_t engineID= 1000; uint32_t portID = 0; auto graphPtr = Graph::GetInstance(100); auto enginePtr = graphPtr->GetEngine(engineID); auto engineQueueSize = enginePtr->GetQueueCurrentSize(portID);
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot