boonnano 1
C++ library giving usage access to the Boon Logic Nano technology
 
Loading...
Searching...
No Matches
CAutotuneNanoConfig Class Reference

Main autotuning functionality. More...

#include <autotune.h>

Public Member Functions

bool Autotune (uint8_t *PatternBuffer, uint64_t PatternBufferLengthInBytes)
 Main autotune function.
 
bool AutotuningInProgress ()
 Determine if autotuning is running.
 
bool AutotuningWasSuccessful () const
 Determining if autotuning was successful.
 
 CAutotuneNanoConfig (CBoonNano *Nano=nullptr)
 Initialize with nano object.
 
void ClearBuffers ()
 Clear object buffers.
 
void DisplayAutotuningElbow ()
 Generates print string of autotuning elbow.
 
bool GetAutotunedNanoConfig (CNanoConfigParameters &NCP)
 Get autotuned nano config.
 
void GetAutotuningElbow (std::vector< float > &PVArray, std::vector< uint16_t > &ClusterCountArray)
 Cluster count autotuning curve.
 
CAutotuningParametersGetAutotuningParameters ()
 Get autotuning parameters object.
 
double GetAutotuningPercentComplete () const
 Get percent complete.
 
char * GetErrorMessage ()
 Get error string.
 
CNanoConfigParametersGetNanoConfig ()
 Get autotuned nano config.
 
bool GoNextAutotuneStage (int &ResultCode, uint8_t *PatternBuffer=nullptr, uint64_t PatternBufferLengthInBytes=0)
 Increment autotuning stage.
 
bool LoadAutotuningConfig (CAutotuningParameters &AP)
 Setup autotuning config.
 
bool LoadNanoConfig (CNanoConfigParameters &NCP)
 Setup config for autotuning.
 
bool LoadPatternBuffer (uint8_t *PatternBuffer, uint64_t NumBytes)
 Setup pattern buffer for autotuning.
 
void Reset ()
 Clear object values and buffers.
 
bool Serialize (const char *VarPath, const char *ThisVarName, struct archive *Archive, bool IsLoading)
 

Detailed Description

Includes incremental (semi-asynchronous) and synchronous version of autotuning and supporting functions

Examples
full-example.cpp, and results.cpp.

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