remove the timing for twopole testing

This commit is contained in:
Stephen Birarda 2013-06-18 09:53:30 -07:00
parent 5acb0bd1a3
commit 8cef77bbda

View file

@ -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