mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 00:26:33 +02:00
remove the timing for twopole testing
This commit is contained in:
parent
5acb0bd1a3
commit
8cef77bbda
1 changed files with 0 additions and 6 deletions
|
@ -298,8 +298,6 @@ int main(int argc, const char* argv[]) {
|
|||
? otherAgentBuffer->getBuffer() + RING_BUFFER_LENGTH_SAMPLES - numSamplesDelay
|
||||
: otherAgentBuffer->getNextOutput() - numSamplesDelay;
|
||||
|
||||
gettimeofday(&twoPoleStart, NULL);
|
||||
|
||||
for (int s = 0; s < BUFFER_LENGTH_SAMPLES_PER_CHANNEL; s++) {
|
||||
// load up the stkFrameBuffer with this source's samples
|
||||
stkFrameBuffer[s] = (stk::StkFloat) sourceBuffer[s];
|
||||
|
@ -310,10 +308,6 @@ int main(int argc, const char* argv[]) {
|
|||
otherAgentTwoPole->tick(stkFrameBuffer);
|
||||
}
|
||||
|
||||
gettimeofday(&twoPoleEnd, NULL);
|
||||
|
||||
printf("Time taken for TP: %lld\n", usecTimestamp(&twoPoleEnd) - usecTimestamp(&twoPoleStart));
|
||||
|
||||
for (int s = 0; s < BUFFER_LENGTH_SAMPLES_PER_CHANNEL; s++) {
|
||||
if (s < numSamplesDelay) {
|
||||
// pull the earlier sample for the delayed channel
|
||||
|
|
Loading…
Reference in a new issue