11 #ifndef TPETRA_DETAILS_KOKKOS_COUNTER_HPP
12 #define TPETRA_DETAILS_KOKKOS_COUNTER_HPP
19 #include <Teuchos_FancyOStream.hpp>
25 namespace DeepCopyCounter {
44 namespace FenceCounter {
64 namespace KokkosRegionCounter {
89 #endif // TPETRA_DETAILS_KOKKOS_COUNTER_HPP
void reset()
Reset the deep_copy counter.
void dump_regions(std::ostream &os)
Print all observed region labels, separated by newline.
size_t get_count_same_space()
Query the deep_copy counter for copies in the same space.
void stop()
Stop the counter.
size_t get_count_global(const std::string &device)
Query the fence counter for given device, for an Kokkos::fence()
size_t get_count_region_contains(const std::string &substr)
How many regions containing substr have been seen.
void start()
Start the fence counter.
size_t get_count_different_space()
Query the deep_copy counter for copies between different spaces.
void reset()
Reset the fence counter.
void start()
Start the deep_copy counter.
void stop()
Stop the fence counter.
size_t get_count_instance(const std::string &device)
Query the fence counter for given device, for an exec_space_instance.fence()
void stop()
Stop the deep_copy counter.
void reset()
Reset the counter.
void start()
Start the counter.