tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
tracktion_BenchmarkUtilities.h File Reference
#include "tracktion_EditNodeBuilder.h"
#include "../../../tracktion_core/utilities/tracktion_Benchmark.h"
#include "../../playback/graph/tracktion_TracktionEngineNode.h"
#include "../../playback/graph/tracktion_TracktionNodePlayer.h"
#include "../../playback/graph/tracktion_MultiThreadedNodePlayer.h"

Go to the source code of this file.

Classes

struct  tracktion::engine::benchmark_utilities::BenchmarkOptions
 

Namespaces

namespace  tracktion
 
namespace  tracktion::engine
 Declarations from this namespaces are inlined into tracktion.
 

Enumerations

enum class  MultiThreaded { no , yes }
 
enum class  LockFree { no , yes }
 
enum class  PoolMemoryAllocations { no , yes }
 
enum class  ShareNodeMemory { no , yes }
 

Functions

juce::String tracktion::engine::benchmark_utilities::getDescription (const BenchmarkOptions &opts)
 
std::unique_ptr< tracktion::graph::Nodetracktion::engine::benchmark_utilities::createNode (Edit &edit, ProcessState &processState, double sampleRate, int blockSize)
 
template<typename NodePlayerType >
void tracktion::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 tracktion::engine::benchmark_utilities::renderEdit (juce::UnitTest &ut, BenchmarkOptions opts)
 
void tracktion::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< Edittracktion::engine::benchmark_utilities::openEditfromArchiveData (Engine &engine, const char *data, int size)
 
std::unique_ptr< Edittracktion::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< Edittracktion::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.
 

Enumeration Type Documentation

◆ LockFree

enum class tracktion::engine::benchmark_utilities::LockFree
strong

Definition at line 27 of file tracktion_BenchmarkUtilities.h.

◆ MultiThreaded

enum class tracktion::engine::benchmark_utilities::MultiThreaded
strong

Definition at line 25 of file tracktion_BenchmarkUtilities.h.

◆ PoolMemoryAllocations

enum class tracktion::engine::benchmark_utilities::PoolMemoryAllocations
strong

Definition at line 29 of file tracktion_BenchmarkUtilities.h.

◆ ShareNodeMemory

enum class tracktion::engine::benchmark_utilities::ShareNodeMemory
strong

Definition at line 31 of file tracktion_BenchmarkUtilities.h.

Function Documentation

◆ createNode()

std::unique_ptr< tracktion::graph::Node > tracktion::engine::benchmark_utilities::createNode ( Edit edit,
ProcessState processState,
double  sampleRate,
int  blockSize 
)

Definition at line 67 of file tracktion_BenchmarkUtilities.h.

◆ getDescription()

juce::String tracktion::engine::benchmark_utilities::getDescription ( const BenchmarkOptions opts)

Definition at line 45 of file tracktion_BenchmarkUtilities.h.

◆ loadEditFromValueTree()

std::unique_ptr< Edit > tracktion::engine::benchmark_utilities::loadEditFromValueTree ( Engine engine,
const juce::ValueTree editState 
)

Loads an Edit from a value tree with no Project file references.

Definition at line 229 of file tracktion_BenchmarkUtilities.h.

◆ openEditfromArchiveData()

std::unique_ptr< Edit > tracktion::engine::benchmark_utilities::openEditfromArchiveData ( Engine engine,
const char data,
int  size 
)

Definition at line 193 of file tracktion_BenchmarkUtilities.h.

◆ openEditFromZipData()

std::unique_ptr< Edit > tracktion::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.

Definition at line 251 of file tracktion_BenchmarkUtilities.h.

◆ prepareRenderAndDestroy()

template<typename NodePlayerType >
void tracktion::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 
)

Definition at line 78 of file tracktion_BenchmarkUtilities.h.

◆ renderEdit() [1/2]

void tracktion::engine::benchmark_utilities::renderEdit ( juce::UnitTest ut,
BenchmarkOptions  opts 
)

Definition at line 130 of file tracktion_BenchmarkUtilities.h.

◆ renderEdit() [2/2]

void tracktion::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 
)

Definition at line 181 of file tracktion_BenchmarkUtilities.h.