|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Contans a list of BenchmarkResult[s]. More...
#include "tracktion_Benchmark.h"
Public Member Functions | |
| BenchmarkList ()=default | |
| Constructs a BenchmarkList. | |
| void | addResult (BenchmarkResult r) |
| Adds a result to the list. | |
| std::vector< BenchmarkResult > | getResults () const |
| Returns all the results. | |
| void | clear () |
| Removes all the current results. | |
Static Public Member Functions | |
| static BenchmarkList & | getInstance () |
| Gets the singleton instance. | |
Contans a list of BenchmarkResult[s].
For easy use, this can be used as a singleton so results can easily be added to it from anywhere in your code.
Once you've finished benchmarking, you can get all the results to publish them to your database.
Definition at line 109 of file tracktion_Benchmark.h.
|
default |
Constructs a BenchmarkList.
| void tracktion::engine::BenchmarkList::addResult | ( | BenchmarkResult | r | ) |
| void tracktion::engine::BenchmarkList::clear | ( | ) |
Removes all the current results.
[[ thread_safe ]]
Definition at line 130 of file tracktion_Benchmark.h.
|
static |
Gets the singleton instance.
[[ thread_safe ]]
Definition at line 137 of file tracktion_Benchmark.h.
| std::vector< BenchmarkResult > tracktion::engine::BenchmarkList::getResults | ( | ) | const |