Advertisement
Guest User

Untitled

a guest
Jun 11th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. [hemingway@D56: fftw3]$ gcc fft.c -std=c99 -g -lfftw3 -lm -o test
  2. [hemingway@D56: fftw3]$
  3. [hemingway@D56: fftw3]$
  4. [hemingway@D56: fftw3]$ valgrind ./test
  5. ==21039== Memcheck, a memory error detector
  6. ==21039== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
  7. ==21039== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
  8. ==21039== Command: ./test
  9. ==21039==
  10. input[0][0] = 0.000000000, input[0][1] = 0.000000000,
  11. input[1][0] = 0.382683432, input[1][1] = 0.707106781,
  12. input[2][0] = 0.707106781, input[2][1] = 1.000000000,
  13. input[3][0] = 0.923879533, input[3][1] = 0.707106781,
  14. input[4][0] = 1.000000000, input[4][1] = 0.000000000,
  15. input[5][0] = 0.923879533, input[5][1] = -0.707106781,
  16. input[6][0] = 0.707106781, input[6][1] = -1.000000000,
  17. input[7][0] = 0.382683432, input[7][1] = -0.707106781,
  18. input[8][0] = 0.000000000, input[8][1] = -0.000000000,
  19. input[9][0] = -0.382683432, input[9][1] = 0.707106781,
  20. input[10][0] = -0.707106781, input[10][1] = 1.000000000,
  21. input[11][0] = -0.923879533, input[11][1] = 0.707106781,
  22. input[12][0] = -1.000000000, input[12][1] = 0.000000000,
  23. input[13][0] = -0.923879533, input[13][1] = -0.707106781,
  24. input[14][0] = -0.707106781, input[14][1] = -1.000000000,
  25. input[15][0] = -0.382683432, input[15][1] = -0.707106781,
  26.  
  27. FFT complete
  28. OUT[ 0] = (0.000000000 + 0.000000000i)
  29. OUT[ 1] = (0.000000000 + 0.000000000i)
  30. OUT[ 2] = (0.000000000 + 0.000000000i)
  31. OUT[ 3] = (0.000000000 + 0.000000000i)
  32. OUT[ 4] = (0.000000000 + 0.000000000i)
  33. OUT[ 5] = (0.000000000 + 0.000000000i)
  34. OUT[ 6] = (0.000000000 + 0.000000000i)
  35. OUT[ 7] = (0.000000000 + 0.000000000i)
  36. OUT[ 0] = (0.000000000 + 0.000000000i)
  37. OUT[ 1] = (0.000000000 + 0.000000000i)
  38. OUT[ 2] = (0.000000000 + 0.000000000i)
  39. OUT[ 3] = (0.000000000 + 0.000000000i)
  40. OUT[ 4] = (0.000000000 + 0.000000000i)
  41. OUT[ 5] = (0.000000000 + 0.000000000i)
  42. OUT[ 6] = (0.000000000 + 0.000000000i)
  43. OUT[ 7] = (0.000000000 + 0.000000000i)
  44.  
  45. ==21039==
  46. ==21039== HEAP SUMMARY:
  47. ==21039== in use at exit: 87,416 bytes in 985 blocks
  48. ==21039== total heap usage: 1,035 allocs, 50 frees, 229,204 bytes allocated
  49. ==21039==
  50. ==21039== LEAK SUMMARY:
  51. ==21039== definitely lost: 0 bytes in 0 blocks
  52. ==21039== indirectly lost: 0 bytes in 0 blocks
  53. ==21039== possibly lost: 0 bytes in 0 blocks
  54. ==21039== still reachable: 87,416 bytes in 985 blocks
  55. ==21039== suppressed: 0 bytes in 0 blocks
  56. ==21039== Rerun with --leak-check=full to see details of leaked memory
  57. ==21039==
  58. ==21039== For counts of detected and suppressed errors, rerun with: -v
  59. ==21039== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement