@Namespace(value="cv::cuda")
@NoOffset
public static class opencv_core.Event
extends org.bytedeco.javacpp.Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
opencv_core.Event.Impl |
| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCKING_SYNC
enum cv::cuda::Event::CreateFlags
|
static int |
DEFAULT
enum cv::cuda::Event::CreateFlags
|
static int |
DISABLE_TIMING
enum cv::cuda::Event::CreateFlags
|
static int |
INTERPROCESS
enum cv::cuda::Event::CreateFlags
|
| Constructor and Description |
|---|
Event() |
Event(int flags) |
Event(long size)
Native array allocator.
|
Event(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static float |
elapsedTime(opencv_core.Event start,
opencv_core.Event end)
computes the elapsed time between events
|
opencv_core.Event |
position(long position) |
boolean |
queryIfComplete()
queries an event's status
|
void |
record() |
void |
record(opencv_core.Stream stream)
records an event
|
void |
waitForCompletion()
waits for an event to complete
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic static final int DEFAULT
public static final int BLOCKING_SYNC
public static final int DISABLE_TIMING
public static final int INTERPROCESS
public Event(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public Event(long size)
Pointer.position(long).public Event(@Cast(value="cv::cuda::Event::CreateFlags")
int flags)
public Event()
public opencv_core.Event position(long position)
position in class org.bytedeco.javacpp.Pointerpublic void record(@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
public void record()
@Cast(value="bool") public boolean queryIfComplete()
public void waitForCompletion()
public static float elapsedTime(@Const @ByRef
opencv_core.Event start,
@Const @ByRef
opencv_core.Event end)
Copyright © 2018. All rights reserved.