Changeset 9f0d7cc in Lumiera

Timestamp:
2026-05-28T03:49:15Z (3 weeks ago)
Author:
Ichthyostega <prg@…>
Branches:
dev/play, documentation, integration
Children:
f868a74
Parents:
ae7c9e7
git-author:
Ichthyostega <prg@…> (28/05/26 00:18:06)
git-committer:
Ichthyostega <prg@…> (28/05/26 03:49:15)
Message:

BufferProvider: investigate use of the ComputationalLoad with a memory buffer

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

(No files)

Note: See TracChangeset for help on using the changeset viewer.