Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
Functions
Tpetra::Details::KokkosRegionCounter Namespace Reference

Counter for Kokkos regions representing third-party library usage. More...

Functions

void start ()
 Start the counter.
 
void reset ()
 Reset the counter.
 
void stop ()
 Stop the counter.
 
size_t get_count_region_contains (const std::string &substr)
 How many regions containing substr have been seen.
 
void dump_regions (std::ostream &os)
 Print all observed region labels, separated by newline.
 

Detailed Description

Counter for Kokkos regions representing third-party library usage.

Function Documentation

◆ start()

void Tpetra::Details::KokkosRegionCounter::start ( )

Start the counter.

Definition at line 182 of file Tpetra_Details_KokkosCounter.cpp.

◆ reset()

void Tpetra::Details::KokkosRegionCounter::reset ( )

Reset the counter.

Definition at line 187 of file Tpetra_Details_KokkosCounter.cpp.

◆ stop()

void Tpetra::Details::KokkosRegionCounter::stop ( )

Stop the counter.

Definition at line 191 of file Tpetra_Details_KokkosCounter.cpp.

◆ get_count_region_contains()

size_t Tpetra::Details::KokkosRegionCounter::get_count_region_contains ( const std::string &  substr)

How many regions containing substr have been seen.

Definition at line 196 of file Tpetra_Details_KokkosCounter.cpp.

◆ dump_regions()

void Tpetra::Details::KokkosRegionCounter::dump_regions ( std::ostream &  os)

Print all observed region labels, separated by newline.

Definition at line 210 of file Tpetra_Details_KokkosCounter.cpp.