Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [hemingway@D56: fftw3]$ gcc fft.c -std=c99 -g -lfftw3 -lm -o test
- [hemingway@D56: fftw3]$
- [hemingway@D56: fftw3]$
- [hemingway@D56: fftw3]$ valgrind ./test
- ==21039== Memcheck, a memory error detector
- ==21039== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
- ==21039== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
- ==21039== Command: ./test
- ==21039==
- input[0][0] = 0.000000000, input[0][1] = 0.000000000,
- input[1][0] = 0.382683432, input[1][1] = 0.707106781,
- input[2][0] = 0.707106781, input[2][1] = 1.000000000,
- input[3][0] = 0.923879533, input[3][1] = 0.707106781,
- input[4][0] = 1.000000000, input[4][1] = 0.000000000,
- input[5][0] = 0.923879533, input[5][1] = -0.707106781,
- input[6][0] = 0.707106781, input[6][1] = -1.000000000,
- input[7][0] = 0.382683432, input[7][1] = -0.707106781,
- input[8][0] = 0.000000000, input[8][1] = -0.000000000,
- input[9][0] = -0.382683432, input[9][1] = 0.707106781,
- input[10][0] = -0.707106781, input[10][1] = 1.000000000,
- input[11][0] = -0.923879533, input[11][1] = 0.707106781,
- input[12][0] = -1.000000000, input[12][1] = 0.000000000,
- input[13][0] = -0.923879533, input[13][1] = -0.707106781,
- input[14][0] = -0.707106781, input[14][1] = -1.000000000,
- input[15][0] = -0.382683432, input[15][1] = -0.707106781,
- FFT complete
- OUT[ 0] = (0.000000000 + 0.000000000i)
- OUT[ 1] = (0.000000000 + 0.000000000i)
- OUT[ 2] = (0.000000000 + 0.000000000i)
- OUT[ 3] = (0.000000000 + 0.000000000i)
- OUT[ 4] = (0.000000000 + 0.000000000i)
- OUT[ 5] = (0.000000000 + 0.000000000i)
- OUT[ 6] = (0.000000000 + 0.000000000i)
- OUT[ 7] = (0.000000000 + 0.000000000i)
- OUT[ 0] = (0.000000000 + 0.000000000i)
- OUT[ 1] = (0.000000000 + 0.000000000i)
- OUT[ 2] = (0.000000000 + 0.000000000i)
- OUT[ 3] = (0.000000000 + 0.000000000i)
- OUT[ 4] = (0.000000000 + 0.000000000i)
- OUT[ 5] = (0.000000000 + 0.000000000i)
- OUT[ 6] = (0.000000000 + 0.000000000i)
- OUT[ 7] = (0.000000000 + 0.000000000i)
- ==21039==
- ==21039== HEAP SUMMARY:
- ==21039== in use at exit: 87,416 bytes in 985 blocks
- ==21039== total heap usage: 1,035 allocs, 50 frees, 229,204 bytes allocated
- ==21039==
- ==21039== LEAK SUMMARY:
- ==21039== definitely lost: 0 bytes in 0 blocks
- ==21039== indirectly lost: 0 bytes in 0 blocks
- ==21039== possibly lost: 0 bytes in 0 blocks
- ==21039== still reachable: 87,416 bytes in 985 blocks
- ==21039== suppressed: 0 bytes in 0 blocks
- ==21039== Rerun with --leak-check=full to see details of leaked memory
- ==21039==
- ==21039== For counts of detected and suppressed errors, rerun with: -v
- ==21039== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement