The intention is to utilise this helper class, that was developed for the scheduler stress testing; but this time, it should access the actual allocated render buffers to generate the load. This implies to use buffers of a significant size; it turned out that the existing implementation was imprecise, insofar it always used full multiples of the configured buffer size, which defeats the purpose of performing a precisely calibrated number of calculation steps. As long as the buffer size would remain comparatively small, this drift does not matter much. Thus I changed the implementation now to ensure that exactly the calibrated number of steps is performed, using a modulus to map it to the buffer memory. Furthermore, I plan to use a random-walk pattern in the worker thread to select from a collection of pre-established »buffer types«, similar to what happens in the actual engine
109 lines
1.9 KiB
Text
109 lines
1.9 KiB
Text
TESTING "Component Test Suite: Render Engine parts" ./test-suite --group=engine
|
|
|
|
|
|
|
|
TEST "Test support: dummy frames" TestFrame_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Test support: buffer provider" DiagnosticBufferProvider_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Buffer provider protocol" BufferProviderProtocol_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Buffer provider integration" BufferProviderLoad_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Buffer metadata type keys" BufferMetadataKey_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Buffer metadata and state transitions" BufferMetadata_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Proxy Buffer-provider" BufferProxyAdaptor_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "BufferStore interface" BufferStore_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Engine Buffer-Manager interface" EngineBufferManager_test <<END
|
|
END
|
|
|
|
|
|
PLANNED "Engine Interface basics" EngineInterface_test <<END
|
|
END
|
|
|
|
|
|
PLANNED "Engine calculation streams" CalcStream_test <<END
|
|
END
|
|
|
|
|
|
TEST "Frame Dispatcher Interface" DispatcherInterface_test <<END
|
|
END
|
|
|
|
|
|
TEST "Render job properties" JobHash_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Render job planning calculation" JobPlanning_test <<END
|
|
out-lit: Frame #5 @ ∆200ms
|
|
out-lit: real-time-origin : 0:05:00.000
|
|
out-lit: total latency : ≺30ms≻
|
|
out-lit: deadline : 0:05:00.170
|
|
out-lit: Prerequisite......
|
|
out-lit: master deadline : 0:05:00.160
|
|
out-lit: latency : ≺60ms≻
|
|
out-lit: prereq deadline : 0:05:00.100
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Render job planning pipeline setup" JobPlanningPipeline_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Local buffer state management" LocalBufferStage_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Local buffer memory handling" LocalBufferStore_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Local pool for buffer memory" LocalMemPool_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Mock support for render job planning" MockSupport_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
PLANNED "scheduler interface" SchedulerInterface_test <<END
|
|
END
|
|
|
|
|
|
TEST "Step timing basics" Timings_test <<END
|
|
END
|