TracktionEngine
Loading...
Searching...
No Matches
tracktion_BenchmarkUtilities.h File Reference

Classes

struct  engine::benchmark_utilities::BenchmarkOptions

Namespaces

namespace  engine
namespace  engine::benchmark_utilities

Enumerations

enum class  engine::benchmark_utilities::MultiThreaded { engine::benchmark_utilities::no , engine::benchmark_utilities::yes }
enum class  engine::benchmark_utilities::LockFree { engine::benchmark_utilities::no , engine::benchmark_utilities::yes }
enum class  engine::benchmark_utilities::PoolMemoryAllocations { engine::benchmark_utilities::no , engine::benchmark_utilities::yes }
enum class  engine::benchmark_utilities::ShareNodeMemory { engine::benchmark_utilities::no , engine::benchmark_utilities::yes }

Functions

juce::String engine::benchmark_utilities::getDescription (const BenchmarkOptions &opts)
std::unique_ptr< tracktion::graph::Node > engine::benchmark_utilities::createNode (Edit &edit, ProcessState &processState, double sampleRate, int blockSize)
template<typename NodePlayerType>
void engine::benchmark_utilities::prepareRenderAndDestroy (juce::UnitTest &ut, juce::String editName, juce::String description, tracktion::graph::test_utilities::TestProcess< NodePlayerType > &testContext, tracktion::graph::PlayHeadState &playHeadState, MultiThreaded isMultiThreaded)
void engine::benchmark_utilities::renderEdit (juce::UnitTest &ut, BenchmarkOptions opts)
void engine::benchmark_utilities::renderEdit (juce::UnitTest &ut, juce::String editName, Edit &edit, tracktion::graph::test_utilities::TestSetup ts, MultiThreaded isMultiThreaded, LockFree isLockFree, tracktion::graph::ThreadPoolStrategy poolType)
std::unique_ptr< Edit > engine::benchmark_utilities::openEditfromArchiveData (Engine &engine, const char *data, int size)
std::unique_ptr< Edit > engine::benchmark_utilities::loadEditFromValueTree (Engine &engine, const juce::ValueTree &editState)
 Loads an Edit from a value tree with no Project file references.
std::unique_ptr< Edit > engine::benchmark_utilities::openEditFromZipData (Engine &engine, const void *data, size_t numBytes)
 Loads an Edit that was saved directly from the state to a GZip stream.