Resize the profiler sample buffers to allow the desired amount of samples per thread.
If the scene is very complex, the number of samples recorded for one frame can surpass the reserved number of samples. The preallocated buffers can then be resized using this API. If dynamic resizing is desired, set this value to -1. The default value for this is 512K samples per thread. The max value is 8M samples per thread.