![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Typedefs | |
| using | clock = std::chrono::steady_clock |
Functions | |
| void | begin_dispatch (const char *name, std::uint32_t, std::uint64_t *kID) |
| Begin one paired host-dispatch timing record. | |
| void | end_dispatch (std::uint64_t kID) |
| Finish a paired host-side dispatch timing record. | |
| void | begin_fence (const char *, std::uint32_t, std::uint64_t *handle) |
| Start timing a Kokkos fence callback pair. | |
| void | end_fence (std::uint64_t) |
| Accumulate elapsed host wall for a paired Kokkos fence. | |
| void | begin_deep_copy (Kokkos_Profiling_SpaceHandle dst, const char *, const void *, Kokkos_Profiling_SpaceHandle src, const char *, const void *, std::uint64_t size) |
| Count a Kokkos deep-copy dispatch and its logical direction/bytes. | |
Variables | |
| thread_local std::vector< clock::time_point > | dispatch_t0 |
| thread_local std::vector< clock::time_point > | fence_t0 |
| using openswmm::twoD::gpu::kperf::detail::clock = std::chrono::steady_clock |
|
inline |
Count a Kokkos deep-copy dispatch and its logical direction/bytes.
| [in] | dst | Destination memory-space handle; a name starting with Host is classified as host. |
| [in] | src | Source memory-space handle, classified by the same prefix rule. |
| [in] | size | Bytes transferred, accumulated without overflow checks. |
|
inline |
Begin one paired host-dispatch timing record.
| [in] | name | Required stable NUL-terminated kernel label supplied by Kokkos; copied on first use. |
| [out] | kID | Required caller record, set to zero even without an active counter scope; otherwise assigned the local kernel-label index. |
|
inline |
Start timing a Kokkos fence callback pair.
| [out] | handle | Required output, always set to zero; pairing uses the thread-local stack. |
|
inline |
Finish a paired host-side dispatch timing record.
| [in] | kID | Kernel-label index supplied by begin_dispatch(). |
|
inline |
Accumulate elapsed host wall for a paired Kokkos fence.
|
inline |
Dispatch begin/end pairs nest strictly on the calling thread, so a stack of start times pairs them; the uint64_t Kokkos hands back carries the kernel id assigned at begin.
|
inline |