[DEV] continue removing STL
This commit is contained in:
parent
33d621539b
commit
d5c9a30189
@ -83,7 +83,7 @@ float performanceResamplerStepFloat(float _sampleRateIn, float _sampleRateOut, i
|
|||||||
size_t sizeOut = output.size();
|
size_t sizeOut = output.size();
|
||||||
algo.process(&output[0], sizeOut, &input[0], input.size());
|
algo.process(&output[0], sizeOut, &input[0], input.size());
|
||||||
perfo.toc();
|
perfo.toc();
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
ethread::sleepMilliSeconds((1));
|
||||||
}
|
}
|
||||||
TEST_INFO(" blockSize=" << input.size() << " sample");
|
TEST_INFO(" blockSize=" << input.size() << " sample");
|
||||||
TEST_INFO(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
|
TEST_INFO(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
|
||||||
@ -123,7 +123,7 @@ float performanceResamplerStepI16(float _sampleRateIn, float _sampleRateOut, int
|
|||||||
size_t sizeOut = output.size();
|
size_t sizeOut = output.size();
|
||||||
algo.process(&output[0], sizeOut, &input[0], input.size());
|
algo.process(&output[0], sizeOut, &input[0], input.size());
|
||||||
perfo.toc();
|
perfo.toc();
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
ethread::sleepMilliSeconds((1));
|
||||||
}
|
}
|
||||||
TEST_INFO(" blockSize=" << input.size() << " sample");
|
TEST_INFO(" blockSize=" << input.size() << " sample");
|
||||||
TEST_INFO(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
|
TEST_INFO(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
|
||||||
@ -260,7 +260,7 @@ int main(int _argc, const char** _argv) {
|
|||||||
algo.process(&output[outputPosition], availlableSize, &inputData[iii*blockSize], blockSize);
|
algo.process(&output[outputPosition], availlableSize, &inputData[iii*blockSize], blockSize);
|
||||||
if (perf == true) {
|
if (perf == true) {
|
||||||
perfo.toc();
|
perfo.toc();
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
ethread::sleepMilliSeconds((1));
|
||||||
}
|
}
|
||||||
outputPosition += availlableSize*nbChan;
|
outputPosition += availlableSize*nbChan;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user