| 376 | } |
| 377 | |
| 378 | EXPORT_C_FUNC XResult XQueueResume(XQueueHandle xq, int64_t flags) |
| 379 | { |
| 380 | std::shared_ptr<XQueue> xq_shptr = XQueueManager::Get(xq); |
| 381 | if (xq_shptr == nullptr) { |
| 382 | XWARN("XQueue with handle 0x" FMT_64X " does not exist", xq); |
| 383 | return kXSchedErrorNotFound; |
| 384 | } |
| 385 | xq_shptr->Resume(flags); |
| 386 | return kXSchedSuccess; |
| 387 | } |
| 388 | |
| 389 | EXPORT_C_FUNC XResult XQueueProfileHwCommandCount(XQueueHandle xq, int64_t *count) |
| 390 | { |