Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
Tpetra::Details::KokkosRegionCounter Namespace Reference

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

Functions

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

Detailed Description

Counter for Kokkos regions representing third-party library usage.

Function Documentation

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

Start the counter.

Definition at line 218 of file Tpetra_Details_KokkosCounter.cpp.

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

Reset the counter.

Definition at line 223 of file Tpetra_Details_KokkosCounter.cpp.

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

Stop the counter.

Definition at line 227 of file Tpetra_Details_KokkosCounter.cpp.

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

How many regions containing substr have been seen.

Definition at line 232 of file Tpetra_Details_KokkosCounter.cpp.

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

Print all observed region labels, separated by newline.

Definition at line 246 of file Tpetra_Details_KokkosCounter.cpp.