Function: get_event_avail_num
Applicable Products
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Queries the number of available events on the current device.
Prototype
- C Prototype
aclError aclrtGetEventAvailNum(uint32_t *eventCount)
- Python Function
1event_count, ret = acl.rt.get_event_avail_num()
Parameters
None
Return Values
Return Value |
Description |
|---|---|
event_count |
Int, number of events. |
ret |
Int, 0 on success; else, failure. |
Parent topic: Event Management