Allocator

October 19th, 2009 by ddn223

Expect hour: 13

Actual hour: 15

September 11th, 2009 by ddn223
  • predicted number of hours to complete 2
  • actual number of hours to complete 2
  • execution time (if accepted) .078
  • rank (if accepted)
  • Primes.out (as a page)
  • TestPrimes.out (as a page)

==21314== Memcheck, a memory error detector.
==21314== Copyright (C) 2002-2008, and GNU GPL’d, by Julian Seward et al.
==21314== Using LibVEX rev 1878, a library for dynamic binary translation.
==21314== Copyright (C) 2004-2008, and GNU GPL’d, by OpenWorks LLP.
==21314== Using valgrind-3.4.0, a dynamic binary instrumentation framework.
==21314== Copyright (C) 2000-2008, and GNU GPL’d, by Julian Seward et al.
==21314== For more details, rerun with: -v
==21314==
2 2 7 13
2 2 13 19
2 2 19 23
2 2 983 1013
2 2 1453 1543
2 2 4993 5003
2 2 249989 250007
2 3 621419 621701
2 2 261713 261739
2 2 6163 6197
2 3 129901 129967
2 3 261593 261637
2 2 75619 75641
2 3 613 617
2 3 617269 617293
2 3 172297 172297
2 2 2 2
Impossible.
2 3 2 2
2 2 3 3
==21314==
==21314== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 17 from 1)
==21314== malloc/free: in use at exit: 122,880 bytes in 6 blocks.
==21314== malloc/free: 7 allocs, 1 frees, 122,882 bytes allocated.
==21314== For counts of detected errors, rerun with: -v
==21314== searching for pointers to 6 not-freed blocks.
==21314== checked 104,096 bytes.
==21314==
==21314== LEAK SUMMARY:
==21314==    definitely lost: 0 bytes in 0 blocks.
==21314==      possibly lost: 0 bytes in 0 blocks.
==21314==    still reachable: 122,880 bytes in 6 blocks.
==21314==         suppressed: 0 bytes in 0 blocks.
==21314== Rerun with –leak-check=full to see details of leaked memory.

==21327== Memcheck, a memory error detector.
==21327== Copyright (C) 2002-2008, and GNU GPL’d, by Julian Seward et al.
==21327== Using LibVEX rev 1878, a library for dynamic binary translation.
==21327== Copyright (C) 2004-2008, and GNU GPL’d, by OpenWorks LLP.
==21327== Using valgrind-3.4.0, a dynamic binary instrumentation framework.
==21327== Copyright (C) 2000-2008, and GNU GPL’d, by Julian Seward et al.
==21327== For more details, rerun with: -v
==21327==
…..

OK (5 tests)

==21327==
==21327== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 21 from 1)
==21327== malloc/free: in use at exit: 122,880 bytes in 6 blocks.
==21327== malloc/free: 4,413 allocs, 4,407 frees, 619,087 bytes allocated.
==21327== For counts of detected errors, rerun with: -v
==21327== searching for pointers to 6 not-freed blocks.
==21327== checked 124,476 bytes.
==21327==
==21327== LEAK SUMMARY:
==21327==    definitely lost: 0 bytes in 0 blocks.
==21327==      possibly lost: 0 bytes in 0 blocks.
==21327==    still reachable: 122,880 bytes in 6 blocks.
==21327==         suppressed: 0 bytes in 0 blocks.
==21327== Rerun with –leak-check=full to see details of leaked memory.

Project #1: Collatz Project

September 6th, 2009 by ddn223

The first project:

  • predicted number of hours to complete: 10
  • actual number of hours to complete: 13
  • execution time (if accepted): 0.02
  • Collatz.out (as a page)
  • ==26525== Memcheck, a memory error detector.
    ==26525== Copyright (C) 2002-2008, and GNU GPL’d, by Julian Seward et al.
    ==26525== Using LibVEX rev 1878, a library for dynamic binary translation.
    ==26525== Copyright (C) 2004-2008, and GNU GPL’d, by OpenWorks LLP.
    ==26525== Using valgrind-3.4.0, a dynamic binary instrumentation framework.
    ==26525== Copyright (C) 2000-2008, and GNU GPL’d, by Julian Seward et al.
    ==26525== For more details, rerun with: -v
    ==26525==
    1 10 20
    100 200 125
    201 210 89
    900 1000 174
    850 6020 238
    100 1678 182
    98765 56789 351
    3000 69999 340
    18999 5123 279
    10 910 179
    10 9100 262
    50000 100500 351
    1 1 1
    10 1678 182
    1 10000 262
    1000 1999 182
    1001 1999 182
    1998 2000 113
    ==26525==
    ==26525== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 17 from 1)
    ==26525== malloc/free: in use at exit: 122,880 bytes in 6 blocks.
    ==26525== malloc/free: 7 allocs, 1 frees, 122,882 bytes allocated.
    ==26525== For counts of detected errors, rerun with: -v
    ==26525== searching for pointers to 6 not-freed blocks.
    ==26525== checked 108,700 bytes.
    ==26525==
    ==26525== LEAK SUMMARY:
    ==26525==    definitely lost: 0 bytes in 0 blocks.
    ==26525==      possibly lost: 0 bytes in 0 blocks.
    ==26525==    still reachable: 122,880 bytes in 6 blocks.
    ==26525==         suppressed: 0 bytes in 0 blocks.
    ==26525== Rerun with –leak-check=full to see details of leaked memory.
  • TestCollatz.out (as a page)
  • ==26513== Memcheck, a memory error detector.
    ==26513== Copyright (C) 2002-2008, and GNU GPL’d, by Julian Seward et al.
    ==26513== Using LibVEX rev 1878, a library for dynamic binary translation.
    ==26513== Copyright (C) 2004-2008, and GNU GPL’d, by OpenWorks LLP.
    ==26513== Using valgrind-3.4.0, a dynamic binary instrumentation framework.
    ==26513== Copyright (C) 2000-2008, and GNU GPL’d, by Julian Seward et al.
    ==26513== For more details, rerun with: -v
    ==26513==
    …………………

    OK (21 tests)

    ==26513==
    ==26513== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 21 from 1)
    ==26513== malloc/free: in use at exit: 122,880 bytes in 6 blocks.
    ==26513== malloc/free: 585 allocs, 579 frees, 189,914 bytes allocated.
    ==26513== For counts of detected errors, rerun with: -v
    ==26513== searching for pointers to 6 not-freed blocks.
    ==26513== checked 129,024 bytes.
    ==26513==
    ==26513== LEAK SUMMARY:
    ==26513==    definitely lost: 0 bytes in 0 blocks.
    ==26513==      possibly lost: 0 bytes in 0 blocks.
    ==26513==    still reachable: 122,880 bytes in 6 blocks.
    ==26513==         suppressed: 0 bytes in 0 blocks.
    ==26513== Rerun with –leak-check=full to see details of leaked memory.

Hello world!

September 6th, 2009 by ddn223

This is my first blog; it’ll be short and plain.

BUT the next one shall be more glorious.