Stores Fourier transform benchmark data. More...

#include <FTransformBench.h>

Inheritance diagram for FTransform::Bench:
Reference::Able Reference::HeapTracked

Public Member Functions

 Bench ()
 Construct from installed benchmarks.
 
void set_path (const std::string &path)
 Set the patch from which benchmarks will be loaded.
 
void set_nthread (unsigned nthread)
 Set the number of threads for which benchmarks will be loaded. More...
 
unsigned get_max_nfft () const
 Get the maximum FFT length measured.
 
Entry get_best (unsigned nfft) const
 Get the best FFT cost for the specified transform length. More...
 
- Public Member Functions inherited from Reference::Able
 Able ()
 Default constructor.
 
 Able (const Able &)
 Copy constructor.
 
Ableoperator= (const Able &)
 Assignment operator.
 
virtual ~Able ()
 Destructor.
 
unsigned get_reference_count () const
 Returns the number of references there are to this.
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked ()
 Default constructor.
 
 HeapTracked (const HeapTracked &)
 Copy constructor.
 
HeapTrackedoperator= (const HeapTracked &)
 Assignment operator.
 
virtual ~HeapTracked ()
 Destructor.
 
bool __is_on_heap () const
 Return true if this instance is found in heap addresses.
 

Static Public Attributes

static bool verbose = false
 

Protected Member Functions

void reset ()
 
virtual void load () const
 
virtual void load (const std::string &library, const std::string &filename) const
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 Add the address of a reference to this object. More...
 
void __dereference (bool auto_delete=true) const
 Remove the address of a reference to this object. More...
 

Protected Attributes

std::vector< Entry > entries
 Database entries.
 
unsigned max_nfft
 
bool loaded
 
std::string path
 
unsigned nthread
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 Returns the current number instances in existence.
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 Records the addresses of new instances allocated on the heap.
 
static void operator delete (void *location, void *ptr)
 Placement delete overload to match the placement new overload.
 
static void operator delete (void *location)
 Regular delete overload.
 
static size_t get_heap_queue_size ()
 Return the number of heap addresses awaiting processing.
 

Detailed Description

Stores Fourier transform benchmark data.

Member Function Documentation

◆ get_best()

FTransform::Bench::Entry FTransform::Bench::get_best ( unsigned  nfft) const

Get the best FFT cost for the specified transform length.

Get the best FFT cost for the transform length.

◆ set_nthread()

void FTransform::Bench::set_nthread ( unsigned  nthread)

Set the number of threads for which benchmarks will be loaded.

Set the number of threads for which benchmarks should be loaded.

References FTransform::nthread.


The documentation for this class was generated from the following files:

Generated using doxygen 1.8.17