|
TracktionEngine
|
Classes | |
| struct | BenchmarkOptions |
Enumerations | |
| enum class | MultiThreaded { no , yes } |
| enum class | LockFree { no , yes } |
| enum class | PoolMemoryAllocations { no , yes } |
| enum class | ShareNodeMemory { no , yes } |
Functions | |
| juce::String | getDescription (const BenchmarkOptions &opts) |
| std::unique_ptr< tracktion::graph::Node > | createNode (Edit &edit, ProcessState &processState, double sampleRate, int blockSize) |
| template<typename NodePlayerType > | |
| void | prepareRenderAndDestroy (juce::UnitTest &ut, juce::String editName, juce::String description, tracktion::graph::test_utilities::TestProcess< NodePlayerType > &testContext, tracktion::graph::PlayHeadState &playHeadState, MultiThreaded isMultiThreaded) |
| void | renderEdit (juce::UnitTest &ut, BenchmarkOptions opts) |
| void | 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 > | openEditfromArchiveData (Engine &engine, const char *data, int size) |
| std::unique_ptr< Edit > | loadEditFromValueTree (Engine &engine, const juce::ValueTree &editState) |
| Loads an Edit from a value tree with no Project file references. | |
| std::unique_ptr< Edit > | openEditFromZipData (Engine &engine, const void *data, size_t numBytes) |
| Loads an Edit that was saved directly from the state to a GZip stream. | |
|
strong |
|
strong |
|
strong |
|
strong |
| juce::String engine::benchmark_utilities::getDescription | ( | const BenchmarkOptions & | opts | ) |
References getDescription(), graph::test_utilities::getName(), engine::benchmark_utilities::BenchmarkOptions::isLockFree, engine::benchmark_utilities::BenchmarkOptions::isMultiThreaded, engine::benchmark_utilities::BenchmarkOptions::poolMemoryAllocations, engine::benchmark_utilities::BenchmarkOptions::poolType, engine::benchmark_utilities::BenchmarkOptions::shareNodeMemory, and engine::benchmark_utilities::BenchmarkOptions::testSetup.
Referenced by getDescription(), and renderEdit().
| std::unique_ptr< tracktion::graph::Node > engine::benchmark_utilities::createNode | ( | Edit & | edit, |
| ProcessState & | processState, | ||
| double | sampleRate, | ||
| int | blockSize | ||
| ) |
References createNode(), engine::createNodeForEdit(), and engine::ProcessState::sampleRate.
Referenced by createNode(), and renderEdit().
| 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 | ||
| ) |
References engine::StopwatchTimer::getDescription(), and prepareRenderAndDestroy().
Referenced by prepareRenderAndDestroy(), and renderEdit().
| void engine::benchmark_utilities::renderEdit | ( | juce::UnitTest & | ut, |
| BenchmarkOptions | opts | ||
| ) |
References createNode(), engine::benchmark_utilities::BenchmarkOptions::edit, engine::benchmark_utilities::BenchmarkOptions::editName, getDescription(), engine::Edit::getLength(), engine::benchmark_utilities::BenchmarkOptions::isLockFree, engine::benchmark_utilities::BenchmarkOptions::isMultiThreaded, engine::benchmark_utilities::BenchmarkOptions::poolMemoryAllocations, engine::benchmark_utilities::BenchmarkOptions::poolType, prepareRenderAndDestroy(), renderEdit(), engine::benchmark_utilities::BenchmarkOptions::shareNodeMemory, engine::Edit::tempoSequence, and engine::benchmark_utilities::BenchmarkOptions::testSetup.
Referenced by renderEdit(), and renderEdit().
| 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 | ||
| ) |
References renderEdit().
| 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.
References loadEditFromValueTree().
Referenced by loadEditFromValueTree(), and openEditFromZipData().
| 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.
References loadEditFromValueTree(), and openEditFromZipData().
Referenced by openEditFromZipData().